Hi Ron,
thank you for the response.
I am developing a windows application to test a generic webservice: i.e. I
must build a sample of soap body (or soap envelope, it is the same) at
run-time to test the service (body of the soap request...)
Example:
I have a web service Service.asmx, and its web method "Hello".
I am searching a method to generate at run-time a sample of body, similar to
the body generated by framework calling the web page
http://localhost/WebService5/Service1.asmx?op=Hello
and i.e.
<soap:Body>
<Hello xmlns="http://tempuri.org/">
<name>string</name>
</Hello>
</soap:Body>
(this is the soap request...)
To test the webmethod, the user of the win application, will fill up the
tag "name" with his "exact" value.
This for an generic asmx....
Thank you, and sorry for my English!
Bye,
Elisa.
"RYoung" <rcyoungatinkspotdev.comha scritto nel messaggio
news:e6**************@TK2MSFTNGP03.phx.gbl...
Is the web service live, where you can call it from a client and get a
soap response sent back? If so, you can use a packet sniffer like
Wireshark (free), or Colasoft Capsa (trial) to inspect the messages sent
over the wire.
I'm assuming you want to inspect the communication between client and web
services?
Ron
"Elisa" <el********@ioll.itwrote in message
news:BF********************@twister2.libero.it...
>Hi all,
this is my problem:
I have a web method and I would build a sample of its body.
I would want to obtain a result similar to the soap sample generated by
.net framework in InternetExplorer
(when I call the web page .../xxxx.asmx?op=myWebMethod), or generated by
XmlSpy when I do
"Create new Soap Request".
Any Ideas?
Thank you,
Elisa