Most of us are a bit spoiled with .NET and its lovely ability to take a WSDL (via the WSDL Tool) and create us a proxy class. We can then use this object to work with the web service. What if you need to actually see that XML?
Well, Microsoft has a solution. You can use an extension method to log your SOAP. Not sure how to do it, don’t worry about that either, Microsoft has already written it for you.
Please go to this link to read the full article.