I have created a WCF proxy (with svcutil) that sends data to the server with wsHttpBinding. Is is possible to show the XML before it is encrypted to see the actual data/values?
views:
26answers:
2
+1
A:
Enable tracing for the service and view the logs it creates in the Service Trace Viewer.
ETA: A handy tutorial.
Langdon
2010-02-04 14:12:06
A:
Yes it is possible to view the request before it's sent. You can use WCF Message Inspectors that can intercept requests just before they are sent and after they are recieved by the server. The same can be done for responses.
Check this very useful article on how to set up WCF Message Inspectors: Credit Paolo Pialorsi
MSDN Link - Message Inspectors
I'd recommend using Message Inspectors if you plan to do anything with the requests/responses, otherwise trace viewer would be better for debugging type checks, as Langdon suggest.
Tanner
2010-02-04 14:12:29
Thank you for your answer, but I had to accept the @Langdon answer as that solved my specific problem.
Espo
2010-02-04 14:36:54