[jboss-user] [JBossWS] - SOAP response not parsing into Java objects

dnhanson do-not-reply at jboss.com
Fri May 23 11:00:55 EDT 2008


Good morning all.

I am running JBossWs 3.0.1 (about 95% sure of the version) on JBoss App Server 4.2.2 on the service side.  The JDK over there is 1.6.0_03.

When I send a request to my service using SOAPui, I get back the expected XML in the SOAP message.  When I send a request using the client stubs I generated using wsconsume, the outgoing and incoming messages look good, and the proper objects get created by the XML parser (this service returns a custom object), but all fields are populated to their default values (null for strings, 0 for ints).  

When I turn Wireshark on, all the data is definitely there to create the objects and populate them.  The XML within the envelope appears to be well-formed.  I don't get any exceptions until the bad objects percolate through my code.  I assume that this is a jaxb problem, but I'm honestly at a loss as to how to fix it.  Does anyone have any ideas?

I'll keep looking for answers and will post what I did wrong if I find it.  If anyone else has seen this or thinks they have and want more information, please let me know.

And thanks for the help, all who read this.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152994#4152994

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152994



More information about the jboss-user mailing list