1 Reply Latest reply on Oct 28, 2005 10:09 AM by Thomas Diesler

    Sending only part of an object

    Bogdan Solomon Newbie

      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).