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?


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

Reply via email to