• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java SOAP Web Service - Convert Holder byte[] Array to String in Web Service Client

 
Sarwar Baloch
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have created a SOAP based Java Web Service. It returns a error report in a byte [] as

Holder<byte[]> errorReport = new Holder<byte[]>();

below is definition in WSDL file for errorReport

<s:element minOccurs="0" maxOccurs="1" name="errorReport" type="s:base64Binary" />

If it exists then in in java client I would like to convert error report to Java String and display the error report .

thanks in advance


 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!