Reputation: 1696
I am creating (successfully) a dynamic webservice via ServiceDescription and ServiceDescriptionImporter.
BUT
how the heck do I intercept the deserialization (error:InvalidCast... can not convert to array) if I get some wrong xml-document from the web service host ? even reading the wrong xml-document is a mistery for me.
Is it possible to replace the generated SoapHttpClientProtocol ? Or the XmlSerializer ?
If so, HOW ?
I do not want to fail the whole request.
can someone help me out ?
Upvotes: 0
Views: 462