473,396 Members | 1,816 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,396 software developers and data experts.

Capture envelope data of web services

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
Feb 1 '07 #1
3 2769
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 (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.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/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
Feb 2 '07 #2
To use a simpler trace tool, you could use MsSoapT3.exe from SOAP Toolkit
3.0
(http://www.microsoft.com/downloads/d...c0dd-ceec-4088
-9753-86f052ec8450&displaylang=en).
Regards,
Walter Wang (wa****@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.
Feb 2 '07 #3
Hi,

Stephens wrote:
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
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
--
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
Feb 5 '07 #4

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

Similar topics

0
by: Elijah | last post by:
My objective is to send a SOAP formatted request to a web method hosted by the M.S. TerraServer. I use the HTTP Post method. I also use the HttpWebRequest object to build the request. The problem...
0
by: Markus Stehle | last post by:
Hi all! I need to create an soap envelope that will be sent to an external service using HTTP POST. I created the required classes which are serialized using XmlSerializer. The envelope should...
4
by: feng | last post by:
Hi, In our asp.net app, we need to capture the event when user close the browser window by clicking on the "x" button. But it doesn't seem to be as easy as it sound. Can someone show me how to...
0
by: Kory | last post by:
HI, I'm using WSE 2.0 SP3 on both client and server. I'm also using .NET Web services for both client and server. On the server side, I have trace turned on and I see two messages for each...
0
by: tshad | last post by:
I am trying to create a proxy and soap from a sample file and it won't create multiple dimensional arrays for some reason. I am getting the same results if "Line" is not a Multidimensional array. ...
0
by: Anbu | last post by:
Hi All, I have two web services, where first application receives a request and sends the request to the second web service. Based on the response received from second application, the first...
1
by: pmasclark | last post by:
Hello, I created a web site, site A, that redirects to another web site, site B, where a simple web service is hosted. The code to call the web service is simple. oWS.AllowAutoRedirect = True...
0
by: Patrick Brunmayr | last post by:
Hello I have a big Problem with validating a Soap Envelope. I have downloaded the xsd for a soap envelope from http://schemas.xmlsoap.org/soap/envelope/ The validation succeeds as lonng as i...
2
by: Zvi | last post by:
Hi All, Can someone tell me why id the following not working? I have a soap response envelope, for test purpose it's just a string and I create ElementTree from it. Then I try to find Response...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.