473,387 Members | 1,516 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

sample of soap body...

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
Dec 19 '06 #1
2 2366
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

Dec 20 '06 #2
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


Dec 20 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

31
by: Bryan Dickerson | last post by:
Ok, simple question: from a VB.Net web service (as I've said before, I'm a newbie to SOAP), how would I get the SOAP body into a string? My boss and I concur that it, at least from our...
31
by: Bryan Dickerson | last post by:
Ok, simple question: from a VB.Net web service (as I've said before, I'm a newbie to SOAP), how would I get the SOAP body into a string? My boss and I concur that it, at least from our...
0
by: Jigar.Patel | last post by:
I have simple remoting server exposing following simple method. When I try to add webreference to this server in another project, it gives me following error: Custom tool error: Unable to import...
2
by: furrypop | last post by:
Hi, I'm trying to get the Perl SOAP::Lite examples to work on a Windows PC, running Apache 2.2.4. Apache is definitely serving CGI scripts, as I've tested a dummy Hello World thing. I'm also...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.