tags:

views:

29

answers:

2

I have a WCF service that I pass a lit of objects down from the server to the client, what I would like to do is to know what exactly is getting passed down to the client.

How can I see the unecrypted serialized payload that is sent over the wire?

+2  A: 

Use Fiddler on the client machine. It acts as a local proxy and allows you to inspect the HTTP traffic.

Note that there are some limitations with HTTPS traffic, but since you are testing your own WCF service, you can temporarily switch to HTTP for inspection of the packets payload, even if you intend to deploy it as HTTPS in production.

Franci Penov
+4  A: 

WCF has very extensive tracing support which allows you to capture and later view and analyze all messages going over the wire.

Check out the MSDN docs and other sources for great information:

marc_s