Bohn
Bohn

Reputation: 26919

write a program to get response, request from web method calls

I need to write a small C# Win32 program that can show me like a log file the response and request that is done when we call a web method of a third party web service that is also in .NET But I have no idea where to start from or what sample codes to look at. So There is a third party application we are using that is using its own ASP.net web service to do some stuff, so it has some methods like GetDevice, GetPatient, etc that we are calling, now I want my program to show me like a log file what is going on with response/request when I am call each of those methods.

Thanks a lot.

Upvotes: 0

Views: 299

Answers (2)

Espen Burud
Espen Burud

Reputation: 1881

If you are using HTTP protocol, you can configure your client to go thru a Web Debugging Proxy like Fiddler. Fiddler can be downloaded free from www.fiddler2.com.

Upvotes: 1

npinti
npinti

Reputation: 52185

Have tried looking at WireShark?

Wireshark is the world's foremost network protocol analyzer. It lets you capture and interactively browse the traffic running on a computer network.

Upvotes: 2

Related Questions