I have two objects with one referencing the other through a variable. However I want to send to the client (through web services) only the the basic properties of my first class and not the entire second class also.
I generated the .wsdl and the mapings using wscompile and then edited them to remove the mapping to the second object. I then generated the client part from the edited .wsdl file. However I get an error InvalidArgument because my class doesn't have the removed variable. With the initial .wsdl on the client everything works but I get all of the second class too.
So basically I was wondering if it is possible to send just some of the variables that are in a object to a client (with the rest being sent maybe on a later request).
What is the message on the wire, does it still contain the properties that you removed?
If so this is fixed
http://jira.jboss.com/jira/browse/JBWS-380