Can i view the raw request made by soap wcf call
I am making a SOAP request using WCF to a third party service. The service requires that I sign the request, which I think I am doing but I get the error: Could not create SSL/TLS secure channel
So I am wondering if there is a way to see the raw x开发者_高级运维ml that is being sent so I can see where the problem is?
You can see the contents of a message by enabling message tracing and using the Service Trace Viewer to view the message logs.
Having said that, the message Could not create SSL/TLS secure channel
implies a problem at the transport level, so I doubt that you are going to find much of use in the message trace. It likely means you don't have the right client certificate or none at all; this thread on the ASP.NET forums might help you out with that.
OperationContext.Current.RequestContext.RequestMessage.ToString()
精彩评论