On 09/03/12 16:05, domino wrote:
Thanks, Sergey.
@Multipart annotations are currently ignored (will fix it), so try
@FormParam
Few questions.
1) Didn't find a JIRA request for this issue. Could you point me to one if
it exists and do you have a rough ETA?
https://issues.apache.org/jira/browse/CXF-4178 - fix is in the trunk
only for now
2) Please recommend an approach in the absence of @Multipart that will work
well for a complex type that needs XmlJavaTypeAdapter (for ex,
List<Map<String,String>>).
Avoid having multiple parameters representing the request body
@FormParam: Is it possible to avoid providing String-arg constructors (or
fromValue/valueOf static methods) and use only XmlJavaTypeAdapter?
On the server - yes, should be possible, but not on the client
Webclient Approach: Is it possible to use XmlJavaTypeAdapter at all?
No, only for proxies.
Cheers, Sergey
Thanks
--
View this message in context:
http://cxf.547215.n5.nabble.com/Resource-method-has-more-than-one-parameter-representing-a-request-body-tp5550174p5551014.html
Sent from the cxf-user mailing list archive at Nabble.com.
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com