问题描述
我有一个调用基于SOAP SSRS web服务(服务的远程计算机上运行)一个C#控制台应用程序。我想捕捉的传入和传出的SOAP请求。
I have a C# console application that calls SSRS soap based webservice (service runs on a remote machine). I want to capture the incoming and outgoing soap request.
如何才能做到这一点?
感谢
推荐答案
这是只是为了调试目的?如果是这样,可能是你最好的选择。 也很大,但它不会做HTTPS的东西,提琴手一样。
Is this just for debugging purposes? If so, Fiddler is probably your best bet. Wireshark is also great, but it doesn't do the HTTPS stuff that Fiddler does.
有可能通过有效地增加一个输入和输出滤波器,它只是传递数据一起,因为它去记录它来捕捉在服务端的数据 - 但是这的略的繁琐,从我记得。值得如果你想长期审计等做到这一点,但对于简单的检查我会使用Fiddler去努力。
It's possible to capture the data on the service side by effectively adding an incoming and outgoing filter which just passes the data along, logging it as it goes - but that's slightly fiddly from what I remember. Worth the effort if you're trying to do this for long-term audit etc, but for simple inspection I'd go with Fiddler.
这篇关于捕获传入和传出的SOAP请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!