Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - NuSoap Web services Response Problem

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

HI

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 ....

IndexContestInfo{item=anyType
{
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);
envelope.setOutputSoapObject(request);
AndroidHttpTransport androidHttpTransport = new AndroidHttpTransport(URL);

try
{

androidHttpTransport.call(SOAP_ACTION, envelope);

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

String resultsRequestSOAP = (String) envelope.bodyIn;



((TextView)findViewById(R.id.lblStatus)).setText(resultsRequestSOAP.toString());





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
Attachments
output.PNG
output.PNG (168.23 KiB) Viewed 319 times
Vinod...
User avatar
desuvinodkumar
Senior Developer
Senior Developer
 
Posts: 102
Joined: Mon Mar 23, 2009 6:51 am
Location: India

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 25 guests