> -----Original Message-----
> From: ashish ranjan [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, December 30, 2001 7:26 PM
> To: [EMAIL PROTECTED]
> Subject: A simple question regarding client implementation
>
>
> I have a web service which returns a complex object
> comprising of three
> string and one base64binary data type. On the server side
> (.NET) i have
> serialized this object so it return a valid SOAP response given below.
>
> How to make a java client for this to receive all four results?
Create an object in the Bean style and use BeanSerializer - see
the addressbook sample for an example very similar to what you want.
>
>
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Content-Length: length
>
> <?xml version="1.0" encoding="utf-8"?>
> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> <soap:Body>
> <HelloWorldResponse xmlns="http://tempuri.org/">
> <HelloWorldResult>
> <name>string</name>
> <department>string</department>
> <state>string</state>
> <testbyte>base64Binary</testbyte>
> </HelloWorldResult>
> </HelloWorldResponse>
> </soap:Body>
> </soap:Envelope>
>
>
>
> Any help will be highly appreciated.
>
> Thanks,
> Ashish
>
>