This is my soap code

SoapSerializationEnvelope envelope = new
SoapSerializationEnvelope(SoapEnvelope.VER11);
 envelope.dotNet=true;
 envelope.setOutputSoapObject(request);
 HttpTransportSE androidHttpTransport=new HttpTransportSE("
http://123.176.47.162:88/GMANBTWEBSRV/Service.asmx";);
   try
    {
try
 {

       androidHttpTransport.call("
http://123.176.47.162:88/GMANBTWEBSRV/UpdateDevice";, envelope);
       SoapObject res = (SoapObject)envelope.bodyIn;
       //s = res.toString();
       s= res.getProperty(0).toString();


}
catch (UnknownHostException e)
{
Toast.makeText(getBaseContext(),"Unable to reach the server. Unknownhost ",
Toast.LENGTH_LONG).show();
}

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

Reply via email to