Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
When Parsing the Soap response problem...
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
android.vinny  
View profile  
 More options Jul 11 2009, 6:55 am
From: "android.vinny" <vinny.s...@gmail.com>
Date: Sat, 11 Jul 2009 03:55:29 -0700 (PDT)
Local: Sat, Jul 11 2009 6:55 am
Subject: When Parsing the Soap response problem...
HI

I want to Consume the SOAP Web Services in Android

i downloaded KSOAP2 Library

i have done some thing like this ......

private static final String SOAP_ACTION = "getRating";
private static final String METHOD_NAME = "getRating";
private static final String NAMESPACE = "http://www.w3.org/2001/12/
soap-envelope";
private static final String URL = "http://www.galatta.com/iphone/
isizzle/isizzle.php";
private ContextWrapper context;

/** Called when the activity is first created. */
@Override
public void onCreate(Bundle icicle)
{
super.onCreate(icicle);
setContentView(R.layout.list);

//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);

try
{

androidHttpTransport.call(SOAP_ACTION, envelope);

// Get the SAOP Envelope back and the extract the body
SoapObject resultsRequestSOAP = (SoapObject) envelope.bodyIn;

}

i am getting the response from the server like this ......not know
what is this type...

getRatingResponse{return=ContestInfo{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; };

how can i parse this response.....

can any body help me regarding this .....

it urgent .......


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christine  
View profile  
 More options Jul 11 2009, 6:18 pm
From: Christine <christine.kar...@gmail.com>
Date: Sat, 11 Jul 2009 15:18:01 -0700 (PDT)
Local: Sat, Jul 11 2009 6:18 pm
Subject: Re: When Parsing the Soap response problem...
I am not familiar with KSOAP, but if that's the json response you get,
you can parse it with xstream or any json parser.

On Jul 11, 12:55 pm, "android.vinny" <vinny.s...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
android.vinny  
View profile  
 More options Jul 14 2009, 3:22 am
From: "android.vinny" <vinny.s...@gmail.com>
Date: Tue, 14 Jul 2009 00:22:32 -0700 (PDT)
Local: Tues, Jul 14 2009 3:22 am
Subject: Re: When Parsing the Soap response problem...
HI

Thanks For Ur Reply

But it is not a JSON Response....

Is there any possiblilities og getting JSON response in Soap Web
Services ....

I am consumng NUSoap Web Services

On Jul 12, 3:18 am, Christine <christine.kar...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »