users@jax-ws.java.net

Re: capturing the SOAP files at Client end in JAX-WS

From: Sameer Tyagi <Sameer.Tyagi_at_Sun.COM>
Date: Wed, 14 Jun 2006 13:18:50 -0400

There are a number of port redirector tools available like
TcpMon(ws.apache.org/commons/tcpmon/)
TcpTrace(www.pocketsoap.com/tcptrace/), NetTool, SoapScope, SOAPTest etc
that can be used to capture
the messages and HTTP headers as well.

/s




Vasanth Bhat wrote:

> Hi All,
>
> In JAX-RPC we could capture the SOAP messages in a File,
> on the client side by using the following code.
>
> FileOutputStream log = new FileOutputStream("<dir>/<file>");
> ((StubBase)stub)._setTransportFactory(
> new HttpClientTransportFactory(log));
>
> However this stuff won't work in JAX-WS as the stub, which is the
> portType class *cannot* be casted to the Stub class. So how do this
> using JAX-WS?
>
> Thanks
> Vasanth
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
>
>