Search code examples
c#javaxmlasp.net-2.0java-ws

Can you view the XML generated by .NET when using a JavaWS service?


How can I view the XML being sent to a Java Web Service from a C#-based ASP.NET page?

I've created a disco object web ref in .NET from my Java WSDL, but when I use the likes of Fiddler to view the XML attached to the HTTP request, instead I see the form parameters being passed. Is there a way I can view the serialized XML?


Solution

  • Use tcpmon, from Apache, which can intercept traffic and redirect it to another host/port.

    You set up a listener on port A, and all traffic is forwarded to host/port B.