Web Services : unable to get XML response form SOAP Services

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Web Services : unable to get XML response form SOAP Services

Postby desuvinodkumar » Tue Jul 14, 2009 8:09 am


I am consuming SOAP web service in android.

like this ....

//CALL the web service method
SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);


AndroidHttpTransport androidHttpTransport = new AndroidHttpTransport(URL);
// androidHttpTransport.setXmlVersionTag("<?xml version="1.0" encoding="UTF-8"?>");


androidHttpTransport.call(SOAP_ACTION, envelope);

// Log.i(TAG, "Raw request to server: n" + androidHttpTransport.requestDump);
// Get the SAOP Envelope back and the extract the body
Object resultsRequestSOAP = (Object) envelope.getResponse();



i am getting the response in different (Unknown ) format

this is the response i got form the server ..

return=ContestInfo{item=anyType{name=Ankitha; totalimages=2; rating=2.5; }; item=anyType{name=Anushka; totalimages=4; rating=9.5;

regarding this any body help me how to parse this response.....

thanks in advance

its urgent plzz.........
User avatar
Senior Developer
Senior Developer
Posts: 102
Joined: Mon Mar 23, 2009 6:51 am
Location: India


Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 4 guests