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 / February 2007

Tip: Looking for answers? Try searching our database.

Capture envelope data of web services

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Stephens - 01 Feb 2007 12:09 GMT
Hi,

I'm new in web services.  I just made 2 web services using C# and .Net that
receive a string and integer and echo the data back to client.  If I make a
client using C# and .Net, I can send the value to web services and its
feedback without any problem.  But if I use other language to consume the
web service, the web services always got a null string or zero value!

So, I want to study the envelope sent by both client program.  How can I
capture such data in server side?

Thanks and any advance!

Stephens
Walter Wang [MSFT] - 02 Feb 2007 03:21 GMT
Hi Stephens,

If the other language you're using supports WSDL
(http://www.w3.org/TR/wsdl), you can use URL such as
"http://localhost/test/WebService1/asmx?wsdl" to feed the WSDL to your
tool.

To study the envelope sent between client and server, you could use any tcp
proxy trace tool such as this one: http://www.pocketsoap.com/yatt/

Hope this helps.

Sincerely,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
Walter Wang [MSFT] - 02 Feb 2007 03:27 GMT
To use a simpler trace tool, you could use MsSoapT3.exe from SOAP Toolkit
3.0
(http://www.microsoft.com/downloads/details.aspx?familyid=c943c0dd-ceec-4088
-9753-86f052ec8450&displaylang=en).

Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
Laurent Bugnion [MVP] - 05 Feb 2007 06:41 GMT
Hi,

> Hi,
>
[quoted text clipped - 10 lines]
>
> Stephens

I like using Fiddler to observe HTTP traffic:
http://www.fiddlertool.com/fiddler/

Another possibility if Fiddler doesn't work for you is going one step
lower and use TcpTrace, but it's less convivial...
http://www.pocketsoap.com/tcptrace/

HTH,
Laurent
Signature

Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch


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.