Thomas
Thomas

Reputation: 34188

How do I capture incoming and outgoing xml when I call a web service

I am calling a third part web service from a windows application. I just tried to capture the xml response and request generated by that web service while I called it, but failed. While searching Google I found lots of articles, followed their instructions and code, but nothing works.

As examples of what I found, I followed these instructions and these.

Can anyone tell me any easy way to capture incoming and outgoing xml when I call and work with web service returning and accepting XML?

Upvotes: 2

Views: 2095

Answers (2)

mrhotroad
mrhotroad

Reputation: 313

The modern version of Postman Desktop is able to proxy incoming traffic. Please note that Postman likes to run in a lightweight version, but Desktop Version is needed.

Upvotes: 0

Daniel Calliess
Daniel Calliess

Reputation: 853

Using Fiddler or Wireshark you are able to capture http traffic on the client.

I'm normally using Fiddler, it registeres as a proxy on the client so if the application is using the proxy settings defined in the Internet Options all traffic automatically shows up after starting Fiddler.

Upvotes: 3

Related Questions