I am using C# .Net 2.0 to write a webservices client. The server's soap implementation is tested and is pretty solid. gSoap/C++ applications had no problem reading the responses. However the .Net implementation complains "There is an error in XML document" while calling one of the methods. Similar responses recieved from the server were happily processed by the xml parser.
Looks like to me the MSXML parser (I hope thats the one .Net is been using) is a very unforgiving parser.
I have no control over the server. Some how I have to work around this problem. So, I was thinking of writing a SoapExtension as describe here
So my question is, can I hook a parser before Deserialize stage and completely bypass the Deserialize stage.
And above all, how do i instruct the SOAP stub to use my extended class ?