Hi all.
i m calling an webservice which is soap based in my android application. it is returning me the XML response. how can i parse it?? i checked the xml parsing its asking for the URL. i m confused which url i need to pass??
Here is the code:
SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME); request.addProperty("pStrType", type);
request.addProperty("pIntPageNo", PageNo)
request.addProperty("pIntPageSize", PageSize);
//Log.v(LOG_TAG," value:="+name);
//Log.v(LOG_TAG," value:="+pass);
SoapSerializationEnvelope envelope =
new SoapSerializationEnvelope(SoapEnvelope.VER11);
envelope.dotNet = true;
envelope.setOutputSoapObject(request);
AndroidHttpTransport androidHttpTransport = new AndroidHttpTransport(URL);
try
{
androidHttpTransport.call(SOAP_ACTION, envelope);
SoapObject resultstring = (SoapObject) envelope.bodyIn;
Log.v(LOG_TAG," value:="+resultstring);
String Result=resultstring.toString();
What to do after dis?? m getting the string of response in (resultString)
pls pls help me its very urgent.