我可以查看soap wcf呼叫发出的原始请求吗 [英] Can i view the raw request made by soap wcf call

查看:73
本文介绍了我可以查看soap wcf呼叫发出的原始请求吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用WCF向第三方服务发出SOAP请求.该服务要求我签署我认为正在执行的请求,但出现错误:Could not create SSL/TLS secure channel所以我想知道是否有办法查看正在发送的原始xml,这样我就可以知道问题出在哪里?

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?

推荐答案

您可以通过启用

You can see the contents of a message by enabling message tracing and using the Service Trace Viewer to view the message logs.

话虽如此,消息Could not create SSL/TLS secure channel暗示了传输级别的问题,所以我怀疑您会在消息跟踪中找到很多用处.这很可能意味着您没有正确的客户证书或根本没有客户证书; ASP.NET论坛上的此线程可能会帮助您解决这一问题.

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.

这篇关于我可以查看soap wcf呼叫发出的原始请求吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆