NuSoap Web services Response Problem

Put your problem here if it does not fit any of the other categories.

NuSoap Web services Response Problem

Postby desuvinodkumar » Tue Jun 30, 2009 11:24 am


Actually i am getting the response from the server but not in the XML format
it is in different form

can any body give the explanation about this ......

This is the response i am getting from the server

i need respponse in xml format using soap web services and it should return in the xomplex string datatype ....

name=Ankitha; totalimages=2; rating=2.5; }; item=anyType{name=Anushka; totalimages=4; rating=9.5; }; item=anyType{name=Apsara; totalimages=1; rating=0; }; item=anyType{name=Assorted; totalimages=3; rating=4; }; item=anyType{name=Babilona; totalimages=3; rating=1; }; item=anyType{name=Bharathi; totalimages=1; rating=1; }; item=anyType{name=Bhuvaneswari; totalimages=2; rating=1; }; item=anyType{name=Charmi; totalimages=1; rating=-1;

here is my code used for calling web services

//CALL the web service method with the three parameters name,total images and rating

SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
// request.addProperty("name", "celebrity_name");
// request.addProperty("totalimages", "total_images");
// request.addProperty("rating", "rating");

SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
AndroidHttpTransport androidHttpTransport = new AndroidHttpTransport(URL);

{, envelope);

// Get the SAOP Envelope back and the extract the body

String resultsRequestSOAP = (String) envelope.bodyIn;


Log.v("iSizzle", resultsRequestSOAP);

// Server Response Will display in the Log Cat

catch (Exception e)
Log.e("Error", e.getMessage());

Output of the emulator is attached can any body give me suggestions regarding this

i need parse the soap object when i get the xml response ....and should display in the form of list
output.PNG (168.23 KiB) Viewed 361 times
User avatar
Senior Developer
Senior Developer
Posts: 102
Joined: Mon Mar 23, 2009 6:51 am
Location: India


Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 6 guests