tdnhome [
https://community.jboss.org/people/tdnhome] created the discussion
"JBoss 5.1: Complex objects are not being convert to XML payload"
To view the discussion, visit:
https://community.jboss.org/message/729724#729724
--------------------------------------------------------------
Hi all,
I am deploying a webservice to jboss 5.1.0 and the object model (input to the webmethod)
is a complex object, while the scalar properties are being converted to XML payload
correctly, the complex properties are all null. My object model is as follow:
DecisionInput has several integer and string properties, Customer object and Account
objects. The Customer and Account objects are always null when it get to the actually
method.
After deploying the webservice, I ran JBOSS_HOME/bin/wsconsume.bat to generate the proxy
and a set of classes. My client code used the generated classes to create the object
model to send to the webservice.
I was wondering if I need to do any configuration for the mapping of objects to help the
object's XML-marshling process.
Thanks,
-Trung
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/729724#729724]
Start a new discussion in JBoss Web Services Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]