Soap Error: "Server was unable to process request" "Object reference not set to an instance of an object"
c#, iis, soap, web-services
Solution
Thanks guys for all your help. I solved the problem.
The 'SoapAction' field in the soap request had the wrong URI
I recommend using a HTTP sniffer. The http sniffer will show the SOAP properties.
The "SOAPAction" property should have something like : http://tempuri.org/YourServiceMethodName
Problem
When I send a SOAP request to my service in the IIS locally, everything works fine. When I send a SOAP request to the same service that running on IIS on another host, everything works fine. But when another programmer sends a SOAP request to my service, he generally gets the right response except one method in the service that returns: ``` <soap:Body> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>Server was unable to process request. ---> Object reference not set to an instance of an object.</faultstring> <detail /> </soap:Fault> ``` I need to understand why he is receiving this error. His SOAP request is exactly the same as SOAP Request yet mine works and his does not.