You cannot display the SOAP envelope before Call#invoke, because that is when the marshalling occurs.
The best way to monitor what is being sent is using TcpTunnelGui included with Apache SOAP, some other proxy or a network monitor. If you have access to a UNIX-style platform, tcpdump is a great tool to use, as it is completely non-invasive. Windows 2000 includes the Network Monitor application to watch traffic in and out of the local machine. To use TcpTunnelGui, you first run it like java org.apache.soap.util.net.TcpTunnelGui 81 localhost 8080 The first argument is the port on which TcpTunnelGui listens. The second is the host to which to forward connections. The third is the port on that host to connect to. The example above makes TcpTunnelGui listen on port 81 and forward to localhost:8080, which is where Tomcat is listening on my machine. With TcpTunnelGui (and other proxies), you make it the endpoint URL for your SOAP calls. With the app running as above, I could run the following java samples.addressbook.GetAddress http://localhost:81/soap/servlet/rpcrouter "John Doe" My SOAP client connects to TcpTunnelGui, which will forward to Tomcat. Scott Nichol ----- Original Message ----- From: "Siddique Farhan-W13881" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 02, 2002 2:04 PM Subject: Displaying the SOAP Message before Call.invoke() and after success Hello, How do i display SOAP messages before call.invoke and after success to System.out..... Sample code would be very helpful. Thanks in advance Regards, Farhan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>