获取SOAP消息发送到web服务的.NET之前发送到、消息、SOAP、web

由网友(东走西丢)分享简介:我调用外部Web服务的HTTPS。I'm calling an external HTTPS webservice.为了检查什么是错的,车主需要我送SOAP请求。In order to check what is wrong, the owner needs the SOAP request I'm sendin...

我调用外部Web服务的HTTPS。

I'm calling an external HTTPS webservice.

为了检查什么是错的,车主需要我送SOAP请求。

In order to check what is wrong, the owner needs the SOAP request I'm sending.

我有一个Web引用,并在2008年产生VS生成的代理类......

I have a web reference and the generated proxy class generated by VS 2008...

有没有办法看到SOAP消息只是在发送前?

我想在某些.NET code ......因为我试过没看到Web服务调用监听器不知道为什么。

I'm thinking in some .net code... because the Sniffers I tried didn't "see" the webservice invocation don't know why.

推荐答案

你需要的是一个的SoapExtension。有不少很好的例子在这里:

What you need is a SoapExtension. There's quite a few good examples here:

http://stackoverflow.com/questions/256234/how-do-i-get-access-to-soap-response

http://stackoverflow.com/questions/300674/getting-raw-soap-data-from-a-web-reference-client-running-in-asp-net

http://stackoverflow.com/questions/381403/xml-parse-error-while-processing-the-soap-response

其中的文章链接: http://msdn.microsoft.com/en-us/magazine/cc164007.aspx

另外搜索,以便为:http://stackoverflow.com/search?q=SoapExtension

阅读全文

相关推荐

最新文章