locked
How to get raw soap xml message when calling a web service from my web application?

    Question

  • I have a web application, which calls web methods of 3rd party web service. Before invoking 3rd party web method, can I get the raw soap message that will be sent out? How?

    I think SoapExtension is not useful in this situation.

    Thanks in advance!

    Cindy

    Wednesday, March 07, 2012 10:42 PM

Answers

  • I cannot get exactly soap message I send out to 3rd party web service. But I can use xml serialization to serialize object to xml to get majority of the soap message since their web methods always have one parameter - one complicated object.
    • Marked as answer by s liu Thursday, March 08, 2012 8:17 PM
    Thursday, March 08, 2012 8:17 PM