HI
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);
envelope.setOutputSoapObject(request);
AndroidHttpTransport androidHttpTransport = new
AndroidHttpTransport(URL);
// androidHttpTransport.setXmlVersionTag("<?xml version=\"1.0\"
encoding=\"UTF-8\"?>");
try
{
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();
Log.d("isizzle",resultsRequestSOAP.toString());
}
i am getting the response in different (Unknown ) format
this is the response i got form the server ..
getRatingResponse
{
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.........
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---