开发者

JAXB-AXIS, When request xml is unmarshalled JAXB creates JAXBElement<Foo> object is creted instead of Foo Object

开发者 https://www.devze.com 2023-03-29 22:16 出处:网络
After doing a search abt the topic, i came to know by setting generateElementProperty=falsefor JAXB bindings we can avoid this. But all the solutions shows how to set this property in a binding file a

After doing a search abt the topic, i came to know by setting generateElementProperty=false for JAXB bindings we can avoid this. But all the solutions shows how to set this property in a binding file and using the xjc command meaning when i create JAVA beans from schema file. But i want to know how can i set the property through API's or even a binding file which the APIS will read while unmarshalling my r开发者_Python百科equest xmls to create the request object(JAXBElement object instead of Foo Object).....

Thanks Siva

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号