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