You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by ashish ranjan <ar...@cs.fiu.edu> on 2001/12/21 22:42:57 UTC

JAVA client to receive binary data, HELP needed

Hi,
   I have a .NET webservice. One of the method returns byte[] whose soap
response is given below

HTTP/1.1 200 PK
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>
    <readfileResponse xmlns="http://tempuri.org/">
      <readfileResult>base64Binary</readfileResult>
    </readfileResponse>
  </soap:Body>
</soap:Envelope>


I am trying to build a soap client using apache.

How to go about getting the base64binary data and converting in to a byte.

Any help will be highly appreciated.


Thanks,
Ashish