Consuming SOAP and REST Service in Android Application -
i have tried create sample application consuming soap , rest based services. when tried app consuming saop services using ksoap 2 api getting "the operation timed out" response.
when tried app consuming rest services, works fine local services, if tried connect internet services getting "the operation timed out" response too.
i thought proxy problem, configured proxy settings in emulator , can access services through browsers in emulator now.
any suggestion or please.
if able access web service in browser in emulator can access in android app.
i saw code replace line string result= androidhttptransport.responsedump;
by soapobject soapresult = (soapobject) envelope.bodyin;
, add line string result = soapresult.getproperty(0).tostring();
if still have problem write me.
Comments
Post a Comment