You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Andy Jefferies <aj...@vrisko.com> on 2001/09/26 12:08:15 UTC

Deserializing objects

I'm writing a SOAP client that uses many custom objects in both the
request and response.  Using serializers I'm findings it easy to
send the request using RPC and the Call object.

However, a typical response looks like this:

 <SOAP-ENV:Envelope ...>
  ...
  <SOAP-ENV:Body ...>
   <m:MethodResponse xmlns:m=...>
    <return xsi:type="xsd:string">success</return>
    <customObject>...</customObject>
    <customObjectList
		SOAP-ENC:arrayType="m:CustomObject[2]"
		xsi:type="m:CustomList">
     ...
    </customObjectList>
   </m:MethodResponse>
  </SOAP-ENV:Body>
 </SOAP-ENV:Envelope>

How do I, if possible get a Vector of deserialized objects?

Cheers,
Andy.

--
Vrisko Ltd.