Android Ksoap2 SoapFault – faultcode: ‘soap:Client’ faultstring: ‘Server was unable to read request

androidksoap2

i'm using eclipse to develop over android, i'm trying to connect to a .net webservice… when i'm calling a webmethod ,it is not able t fetch the data when checked in log cat it shows

**10-27 11:46:44.222: WARN/System.err(638): 02-22 12:41:08.008: W/System.err(860): SoapFault - faultcode: 'soap:Server' 
  faultstring: 'Server was unable to process request. 
  ---> Object reference not set to an instance of an object.' 
  faultactor: 'null' detail: org.kxml2.kdom.Node@413ecc90

Please help me out i am new to ksoap2 in Android…..

Best Answer

This error comes when you have not provided the correct URL, Method Name or Soap Action of the web service where you have hosted your web service. Other reason might be related to your hosting of webservice on tempuri, check it carefully will solve your problem

Related Topic