Hi Guys,
I went through the documentation, which helped me figure out several issues
I had, but not the following two problems:
1) I have got a get(GET) method: get(@Context Request request,
@PathParam("isbn")String isbn)
How do I formulate the WADL for it so that I get the @Context in the
produced Java code?
2) I have got a update (PUT) method: update(@PathParam("isbn") String isbn,
BookState st)
How do I formuate the WADL to get the BookState in the produced Java code?
Here is my current WADL, which does not do it:
<resource path="/{isbn}">
....
<method name="GET" id="get" >
<request />
<response>
<representation mediaType="application/xml"
element="prefix1:book" />
</response>
</method>
<method name="PUT" id="update" >
<request>
<representation mediaType="application/xml"
element="prefix1:book" />
</request>
<response>
<representation mediaType="application/octet-stream" />
</response>
</method>
</resource>
Thank u so much,
Behzad
--
View this message in context:
http://cxf.547215.n5.nabble.com/Need-some-help-with-WADL2Java-Tool-tp5714978.html
Sent from the cxf-issues mailing list archive at Nabble.com.