Are you saying that you have

@Path("/luckynumbers")
@Produces("text/plain")
public class LuckyNumbers {

    @POST
    @Path("/getWADL")
    @Consumes("application/xml")
    public String getWADL(RequestWrapper arg) {}

@XmlRootElement(name="RequestWrapper", namespace="http://something";)
public class RequestWrapper {
}

and no representation for the wadl:request element is generated and no
reference is available which points to
a schema element, generated within the grammar section ?

Can you save the generated wadl to a file and send me offline ?

Sergey

On Wed, May 4, 2011 at 9:13 PM, yhu <[email protected]> wrote:
> But I already added @produce and @consume on the method:
>
>    @POST
>    @Path("/addRequest")
>    @Produces({MediaType.APPLICATION_XML})
>    @Consumes({MediaType.APPLICATION_XML})
>    public String addRequest(RequestWrapper rw) {
>        System.out.println(rw);
>        return rw.toString();
>    }
>
>
> What's other potential cause?
>
>
> --
> View this message in context: 
> http://cxf.547215.n5.nabble.com/java-util-List-in-rquest-missed-in-WADL-tp4365634p4370948.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>

Reply via email to