SOAP interceptor for .NET?
I'm working with an API and my results (CRUD) are getting mangled somehow in the return and .NET i开发者_JAVA百科s throwing invalid XML errors. Is there a setup trick to getting tcpmon to work with a debugger in Visual Studio? Or is there another lightweight interceptor/analyzer that I can use to capture the XML?
Thanks.
You can use System.Net.Tracing to view the data. Just add this to the configuration on client or server.
You need to set maxdatasize
to a high value.
You might be able to use Microsoft's SOAP Toolkit. This little package includes a trace utility that can sit in between your client and web service to help with debugging the SOAP messages.
It's not free, but Altova's XML Spy also has a SOAP debugger.
Hope these help!
I use SoapUI to test my web services and it will give more detailed statistics on requests and responses than I've ever imagined.
精彩评论