How to see SOAP envelope

  • Thread starter Thread starter kpg
  • Start date Start date
K

kpg

Hi all,

OK. I posted this over in webservices and I think
that was the wrong place for what I was asking...

I have a program that uses a 3rd party web service.
I want to dump out the soap envelope to a file that
the web service object is sending when I call the
webservice method.

Someone suggested using the WSE trace capability
but that seems to be server side? Anyway, I can't
seem to figure that out.

I have also tried packet sniffing with no success,
no doubt because I don't know how to properly configure
the tool.

I have had third party web service provides send me
a copy of the soap envelope before, so I always thought
it was rather simple matter to see that information,
but I am having no luck.

How can I dump out the soap envelope that is being sent
when I call a web service from a dot net program?

Thanks,
kpg
 
Maybe I should ask the *REAL* question I have.

Given a WSDL I want to generate a soap request for
a given method.

I found a neat utility to do this at

http://www.soapclient.com/soapmsg.html

pretty cool.

The particular method I'm interested in takes a
single string parameter and returns a string,
simple enough.

The problem I'm having is the string is actually
an XML document. So I escape out the <> with
&lt;, &gtl and so on, but the web service responds
that it can't parse the xml.

What prompted my original question is that .NET
has no trouble at all sending the request, so I
wanted to look at what it was sending.

I really don't care how I get there. :P

Any help or insight is appreciated.

kpg
 
Back
Top