Let's say your commmand line for the TCP tool is following:
java org.apache.soap.util.net.TcpTunnelGui 8082 127.0.0.1 8080
Your SOAP "client" should invoke the SOAP service at 127.0.0.1:"8082" and
NOT at 127.0.0.1:"8080". The TcpTunnelling tool will automatically obtain
the incoming soap request from port 8082 and send it to port 8080 as a SOAP
request. The response from port 8080 (which your app server listens) will
be obtained by the TcpTunnelling tool and will be sent to your SOAP client
as a response.
Simply:
Request:
Client --> 127.0.0.1:8082 --> TcpTunnel --> 127.0.0.1:8080
Response:
Client <-- 127.0.0.1:8082<-- TcpTunnel <-- 127.0.0.1:8080
To see the network trafic, all you need to do is set your client to send the
request to a local port number and configure the TcpTunneling tool to
re-direct the trafic from the localport number to soap server's port number.
I have used it before and it works beautifully.
Again make sure your client invoke the service at port 8082 and not 8080. If
you are trying to run one of the samples make sure you go into testit.cmd
files and update the port number.
BTW, If you are using windows as your O/S, i have used netmon (network
monitor) to see the soap request and responses. I strongly recommend it,
it's pretty handy.
Regards,
> > > >
Uzay Takaoglu
Sr. Software Engineer
Simplexis
> > eCommerce for the Business of Education
www.simplexis.com
640 2nd Street
San Francisco, CA 94107
Direct: 415.354.2061
Cell: 415.845.7831
Fax: 415.354.2099
-----Original Message-----
From: Eduardo Y�nez [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 5:24 PM
To: [EMAIL PROTECTED]
Subject: RE: The TCPTunnel
I already tried that, but it doesn�t work :-(, i mean the app window appears
but there are no messages when i do the rpc call. :-/
Do i need to put any extra code in my SOAP client or server to see the side
by side communication in an rpc call to a SOAP service? or is something in
the soap configuration?
Thanks in advance (again),
E.Y.
-----Original Message-----
From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
Sent: Lunes, 09 de Julio de 2001 08:02 p.m.
To: [EMAIL PROTECTED]
Cc: Eduardo Y�nez
Subject: Re: The TCPTunnel
RIght... say your end point for your soap connection would normally be
localhost:8080/blah... run
java org.apache.soap.util.net.TcpTunnelGui 8082 localhost 8080
and then instead of connecting to 8080, connect to 8082. You will then be
able to see in the TcpTunnelGui what is moving over the connection.
hope this helps,
cheesr
dim
On Tue, 10 Jul 2001 09:52, you wrote:
> Hi,
>
> I do not undertand this SOAP GUI tool (TCPTunnelGUI), its command line is:
>
> java org.apache.soap.util.net.TcpTunnelGui listenport tunnelhost
tunnelport
>
> I do not understand the explanation of the "listenport" parameter in the
> SOAP documentation.
>
> How do use this tool?
>
> Please help!! i need a debuging tool asap.
>
> Thanks in advance.
> E.Y.