Hi,
In the request of a PUT method in my WADL, I would like an application/xml
representation to be sent.
The method declaration in the WADL:
<method id="saveA" name="PUT">
<request>
<representation mediaType="application/xml" element="ns1:A" />
</request>
<response status="200">
......
</response>
</method>
The element and complexType declaration:
<element name="A" type="ns1:AType" />
<complexType name="AType">
<complexContent>
<extension base="tns1:BType">
<sequence>
<element name="name" type="xsd:string" />
</sequence>
</extension>
</complexContent>
</complexType>
But the generated method saveA doesn't take an instance of AType as parameter
and I don't understand why.
I've found a similar question in the mailing list
(http://mail-archives.apache.org/mod_mbox/cxf-users/201209.mbox/ajax/%3C506562CF.8020502%40gmail.com%3E).
It seems that the argument tMap may be used to work around this issue.
Thanks