spyhunter99 [
https://community.jboss.org/people/spyhunter99] created the discussion
"Re: JBoss 5.1: Complex objects are not being convert to XML payload"
To view the discussion, visit:
https://community.jboss.org/message/729737#729737
--------------------------------------------------------------
Ahh found the problem. You're using xs:any which is always an issue with jaxb and
needs to be handled.
When creating an item, you'll need to use the ObjectFactory.create..... which returns
a JAXBElement<sometype>
When accessing, you'll have to type cast the object to a JAXBElement<sometype>
you'll probably also want to use a tool like tcpmon to verify the content on the wire
against the wsdl/xsd and make adjustments (if necessary) to the object factory
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/729737#729737]
Start a new discussion in JBoss Web Services Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]