Android Ksoap2 SoapFault - faultcode: "soap: Client" faultstring: "Server could not read the request

I use eclipse for development on Android, I try to connect to .net webservice ... when I call the web method, it cannot retrieve data when checking in the log cat, which 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, I am new to ksoap2 in Android .....

+5
source share
2 answers

This error occurs when you did not provide the correct URL, method name, or Soap action of the web service where you hosted the web service. Another reason may be related to your hosting webservice on tempuri, check it carefully, it will solve your problem.

+6

NameSpace, "/" .

+1

All Articles