When accessing the SOAP server, errors like Server was unable to read request. ---> There is an error in XML document (2, 787). ---> Input string was not correct.
How to handle such errors? If there was a SOAP header output, one could understand what was the matter, but what to do with these figures?
|
1 answer
The first digit is the line number, the second digit is the column number in which you have an error in the sent xml.
Recheck the formation of the xml document, you are somewhere passing an incorrect value of some parameter (it is likely that the value you are transmitting does not match the expected type).
- I understand that this is the line number and column. But where to find the name of the parameter that does not match, how to display this parameter? I am interested in how to handle errors, not this particular error. - ratVien
|