• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

API to Decode base64 binary data

 
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I am looking for a API to decode data coded in base 64 associatde with ksoap.

Here is my code to get data using ksoap


String endpointURL = "http://localhost:8080/axis/MyHelloWorldWS.jws";
//Web Service
// Create SOAP object.This will contain your webservice request
SoapObject rpc = new SoapObject("", "compose");;
//Now, lets make SOAP envelope
SoapSerializationEnvelope envelope = new
SoapSerializationEnvelope(SoapEnvelope.VER11);
envelope.bodyOut = rpc;
new MarshalBase64().register(envelope);
// Making webservice call
HttpTransport http = new HttpTransport(endpointURL);
http.debug = true;
http.call(null, envelope);
Object Resp = envelope.getResult();
.....
......
Here I want to decode the data.....


ould nadif
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This class does base64 en/decoding, or you can use Jakarta Commons Codec.
 
Once upon a time there were three bears. And they were visted by a golden haired tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic