.Net Windows窗体客户端.从ASMX Web服务捕获请求/响应SOAP [英] .Net Windows Form Client. Capturing Request/Response SOAP from ASMX webservice
问题描述
在我决定发布此问题之前,我在这里浏览了几篇文章和问题……这些似乎都不是我的解决方案…….或者我做错了事.
before i decided to post this question i went thru several articles and questions in here... none of those seem to be a solution for me.... or i am doing something wrong.
我浏览了这篇文章,在这个网站上建议 http://www .codeproject.com/Articles/38986/Trace-SOAP-Request-Response-XML-with-TraceExtensio?msg = 4152902#xx4152902xx
I went thru this article, suggested in this site http://www.codeproject.com/Articles/38986/Trace-SOAP-Request-Response-XML-with-TraceExtensio?msg=4152902#xx4152902xx
那是行不通的.我什至没有下载源代码.
that's not working. Not even the source code i downloaded.
然后我找到了另一篇文章...
then i found this other article...
http://blog.encoresystems.net/articles/how-to-capture-soap-envelopes-何时消费a-web-service.aspx
这很简单. 我有一个客户端(winform)...与Web服务交互,我无法控制,并且我需要能够捕获肥皂请求和响应.到目前为止,我遵循了5篇教程,soapextensions,soapattributes等,等等……似乎对我没有任何帮助.我已经修改了app.config,完成了本书的所有工作……什么都没有.
This is simple. I have a client (winform)... interacts with a webservice i have no control over, and i need to be able to capture the soap request and response. i followed like 5 tutorials so far, soapextensions, soapattributes, etc, etc... nothing seems to work for me. i have modified app.config, done everything by the book... nothing.
问题...有人有这样的工作示例吗?我发现的两个示例不起作用:)
Question... Does anyone have a WORKING example of this? the two examples i found don't work :)
我正在使用Visual Studio 2010.
I am using Visual Studio 2010.
推荐答案
您是否尝试过按照MSDN文章配置跟踪?
Have you tried using tracing in the config file as described in the MSDN articles How to: Configure Network Tracing and Configuring Tracing?
这篇关于.Net Windows窗体客户端.从ASMX Web服务捕获请求/响应SOAP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!