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

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

  • mercredi 7 mars 2012 22:42
     
     

    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

Toutes les réponses

  • jeudi 8 mars 2012 20:17
     
     Traitée
    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.
    • Marqué comme réponse s liu jeudi 8 mars 2012 20:17
    •