java - android ksoap2 invalid stream or encoding exception -


i having difficulty find solution problem. not able figure out or find real cause of problem. when call java web service having error saying "invalid stream or encoding exception: java.net.sockettimeoutexception caused : java.net.sockettimeoutexception"

here how call service:

try {     final string method_name = "method_name";     final string soap_action = "namespace" + method_name;     final string url = httpurl;     soapobject request = new soapobject("namespace", method_name);     soapserializationenvelope envelope = new soapserializationenvelope(soapenvelope.ver11);     envelope.setoutputsoapobject(request);     httptransportse httptransport = new httptransportse(url, (int) 10000);     httptransport.call(soap_action, envelope);     resultsobject = (soapobject) envelope.bodyin;     httptransport.getserviceconnection().disconnect();      if (resultsobject != null)      {         serviceresult serviceresult = new serviceresult();         int propertycount = resultsobject.getpropertycount();         if (propertycount > 0)          {             //process          }     } } catch(exception e) {     string mess = e.getmessage(); } 

i appreciate help.


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -