Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 xml that is being sent so I can see where the problem is?

like image 356
Mr Bell Avatar asked Feb 18 '10 22:02

Mr Bell


2 Answers

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.

like image 112
Aaronaught Avatar answered Oct 29 '22 02:10

Aaronaught


OperationContext.Current.RequestContext.RequestMessage.ToString()
like image 21
capdragon Avatar answered Oct 29 '22 01:10

capdragon