I have a C# Winforms Program that need to consume an ASMX webservice, there is a requirement to capture the Request/Response XML from the SOAP XML and store into Database.
I've read up a lot article that suggest to use a SoapExtension to capture the XML, but as far for my understanding, all of the solutions isn't thread safe, it just simply grabbing the last captured XML and assume it is the one.
For Example in below Link:
To view the SOAP envelopes, just access the TraceExtension.XmlRequest and TraceExtension.XmlResponse XmlDocument properties right after posting the request.
My program is expecting to have a lot of concurrent process running, the above solution will definitely work if the traffic is low, but my client is expecting a more decent solution that eliminate all the risk .
Any suggestion?