java - SOAP Body elements -


after generating client code wsdl proper. after envelope did sysout , body elements has

<http: / www.siebel.com /xml / contactinfo>xyz</http://www.siebel.com/xml/contactinfo> <http: /www.siebel.com /xml / contactinfo>john</http://www.siebel.com/xml/contactinfo> <http:/www.siebel.com /xml / contactinfo>smith</http://www.siebel.com/xml/contactinfo> 

instead of thing this

<sov:contact>                <sov:personuid>xyz</sov:personuid>                 <sov:firstname>john</sov:firstname>                <sov:lastname>smith</sov:lastname> </sov:contact> 

should add code <sov:contact> instead of <http: / www.siebel.com /xm....

this caused axiom-421. issue occurs axiom versions in combination stax implementations.

the solution either upgrade newer axiom version or add woodstox application used instead of weblogic's stax implementation.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -