Ashish,
Not sure if you've had a chance to check out what we're doing over at Cape Clear, but I think you'll find some very useful info on our website about this specific problem as well as many solutions that may help. ...just a thought, Cheers, -Dave -----Original Message----- From: William Brogden [mailto:[EMAIL PROTECTED]] Sent: 30 December 2001 19:02 To: [EMAIL PROTECTED] Subject: RE: A simple question regarding client implementation > -----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 > >