1

I'm using PHP5 integrated SOAP Client. My web service method accepts around 30 parameters from string and int to bool and double. Upon calling the method I get the following error:

Fatal error: Uncaught SoapFault exception: [soap:Client] Server was unable to read request.

---> There is an error in XML document (3, 983).

---> Input string was not in a correct format.

How can I get to this XML document to check what this error is about? Do I do this on PHP side or on .Net side?

1 Answer 1

1

You can use SOAP Extensions to log the XML on the server side.

If you save the SOAP message to a file and open it in Internet Explorer (or your favorite XML editor), you should see the error.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.