This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Web Services and the fly likes API  to Decode base64 binary  data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "API  to Decode base64 binary  data" Watch "API  to Decode base64 binary  data" New topic
Author

API to Decode base64 binary data

Ould Nadif
Ranch Hand

Joined: Jan 21, 2004
Posts: 184
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


We are ones that build the world, thus build it well.
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
This class does base64 en/decoding, or you can use Jakarta Commons Codec.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: API to Decode base64 binary data
 
It's not a secret anymore!