Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / December 2006

Tip: Looking for answers? Try searching our database.

sample of soap body...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Elisa - 19 Dec 2006 22:25 GMT
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
RYoung - 20 Dec 2006 00:06 GMT
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

> Hi all,
>
[quoted text clipped - 13 lines]
>
> Elisa
Elisa - 20 Dec 2006 22:01 GMT
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.

> 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
[quoted text clipped - 23 lines]
>>
>> Elisa

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.