0

I want to deserialize the xml message from a Post Event in a C# Web Service before it is handled by the WebService Method.

How can I do this?

Edword
  • 80
  • 11
selbolder
  • 487
  • 5
  • 22
  • Possible duplicate of [How to Deserialize XML document](https://stackoverflow.com/questions/364253/how-to-deserialize-xml-document) – Sá´‡M Oct 10 '18 at 10:47
  • It's not about the deserialization directly, I just want to do it myself, I don't know how to do it. how can I intercept everything the webserver receives before it is forwarded to the automatism of the web service model. My soap request probably has a special header that is rejected by the web service with the http error 400 Bad Request. Unfortunately I can't even evaluate the soap request myself. – selbolder Oct 10 '18 at 11:00
  • I guess the service is setup in the configuration file. So the class where the event is handled you need to override to capture the message before is handled in the Webservice. – jdweng Oct 10 '18 at 11:29

0 Answers0