WCF Sending object from MessageInspector to operation method
问题 I'm working with a very complicated and nested web service. The messages don't always deserialize properly at the operation and the vendor has suggested I use MessageInspectors to correctly get the data. This has been working correctly for some time but I'm starting to see issues because in the MessageInspector I'm setting a static XElement variable in the class as a work-around for not being able to pass the XElement object to the instance of the class that gets started for this call. I'm