-----Original Message-----
From: Yong Miao [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 2:02 PM
To: '[EMAIL PROTECTED]'
Subject: RE: How to use TcpTunnelGuiThanks a lot, Guys. It's up now.
But how can I tell soap client to bind 12121?
Thanks,
Yong
-----Original Message-----
From: Roumeliotis, Pete [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 10:44 AM
To: '[EMAIL PROTECTED]'
Subject: RE: How to use TcpTunnelGuiPerhaps there is something else running on port 80...maybe another web server? Try to use a port number less likely to already be in use, like, maybe 12121, or something like that.
Pete
-----Original Message-----
From: Yong Miao [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 1:29 PM
To: 'soap-user@xml.apache.org'
Cc: '[EMAIL PROTECTED]'
Subject: RE: How to use TcpTunnelGuiPhillip,
No matter what order I use I always get same error.
java org.apache.soap.util.TcpTunnelGui 80 http://localhost 8080
java org.apache.soap.util.TcpTunnelGui 8080 http://localhost 80
If I shutdown tomcat it works. I have no idea what's going on.
Yong
-----Original Message-----
From: Phillip Urrea [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 8:52 AM
To: '[EMAIL PROTECTED]'
Subject: RE: How to use TcpTunnelGui
You should run
java org.apache.soap.util.TcpTunnelGui 80 http://localhost 8080
and then tell your soap client to bind to port 80. The first figure is the port that you want the tcp tunnel to listen to and the second figure is the port that you wish to forward the request on to.
So if tomcat is on 8080 the second figure should always be 8080 and the first figure should be the port you want your client to connect to.
Phill.
-----Original Message-----
From: Yong Miao [mailto:[EMAIL PROTECTED]]
Sent: 16 May 2002 16:43
To: [EMAIL PROTECTED]
Subject: How to use TcpTunnelGuiHi,
Could you please tell me how to use the TcpTunnelGui enclosed in soap.jar?
I want to see the message passing to tomcat/soap server.
I am running Tocam with port 8080. When I try to run:
java org.apache/soap/util/net/TcpTunnelGui 8080 http://localhost 80
I got error:
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.apache.soap.util.net.TcpTunnelGui$3.run(TcpTunnelGui.java:185)
How can I use the tool to see the message?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yong Miao
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Title: RE: How to use TcpTunnelGui
You
tell it when you set up your call object. Something like
this:
public
static final String soapServer = new String(http://serverhost:12121/apache-soap/servlet/rpcrouter);
Call
call = new Call();
.......
set up
callobject
........
URL
soapServerUrl = new URL (soapServer);
resp
= call.invoke(soapServerUrl, "");
etc.........
Hopefully, you get the idea....
Cheers,
Pete
- How to use TcpTunnelGui Yong Miao
- RE: How to use TcpTunnelGui Phillip Urrea
- RE: How to use TcpTunnelGui Yong Miao
- RE: How to use TcpTunnelGui Roumeliotis, Pete
- RE: How to use TcpTunnelGui Yong Miao
- Roumeliotis, Pete