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 <[email protected]> wrote: > I am not familiar with KSOAP, but if that's the json response you get, > you canparseit with xstream or any json parser. > > On Jul 11, 12:55 pm, "android.vinny" <[email protected]> wrote: > > > 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 > > SoapObjectrequest= 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 iparsethis response..... > > > can any body help me regarding this ..... > > > it urgent ....... > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

