Hi
On 06/03/12 15:11, irfannagoo wrote:
Hi,
I'm using CXF 2.5.1 in WAS 8 container. When I send a wadl request to the
container, I get something like this:
<method name="GET">
<request/>
<response>
<representation mediaType="application/xml"
element="prefix1:authorisation_response"></representation>
</response>
</method>
As it could be seen that response tag is fully populated with correct
representation tag values however, request tag is empty. Surely, I have
added @Consume tag over the GET operation in question in the servlet and I
have also mention @ElementClass with corresponding requests and response
classes. The JAXB2.1 generated request class has @XmlRootElement with
namspace added to it.
I have been trying various way to get the right request tag but no success.
I just can't see Request tag carrying representation tag in it even though
response tag is just perfect. Can any one please help on this?
It's probably to do with the fact GET is not supposed to have incoming
message payloads. What exactly do you expect to see there ?
Cheers, Sergey
Thanks,
Irfan
--
View this message in context:
http://cxf.547215.n5.nabble.com/Empty-request-tag-in-the-wadl-tp5541117p5541117.html
Sent from the cxf-issues mailing list archive at Nabble.com.
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com