I have a WCF service application and in this app I am doing calls to a third party web service over a secure connection.
I have been trying to view the request response streams using fiddler but I have given up on it after trying more than half day applying all I could find over the internet. It has a problem with certificates eventhough I did more fiddlers certificates to trusted zone.
What is my best bet to simply see the xml requests and responses that I am making to this third party web service?
I am using generated proxy classes so I don’t currently have access to the raw xml that I am sending and receiving back. I am curious if I am over complicating something which can be done much simpler. This is my development machine and I have access to pretty much everything, no restrictions.
A simple way to do this please?
EDIT:
At this moment I don’t even need to use Tracing. I just need to see the serialized output of my request/response. Even if I can do this from the Visual Studio debugger or such It will help.
Since I was trying to read the soap messages to and from the asmx web service that is referenced to my WCF app, the solution to my problem was to create a class that inherits from System.Web.Services.Protocols.SoapExtension, register this class in the web.config so that all traffic is routed through this class and viewed.
None of this communication would show up on the WCF traces so that was not enough. However it was useful that I learned it so now I am able to see all that is going on between my wcf service app and web app..
This article nailed it for me how-to-capture-soap-envelopes-when-consuming-a-web-service