You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Stephen <st...@webreserve.com> on 2001/04/03 07:56:19 UTC

How-to: org.apache.util.net.TcpTunnelGui

I know someone has probably already asked this several times but I'm going
to ask one more time.

How do I use it?... For those of you who are afraid to ask :)

If I have the rpcrouter running on localhost:8080/soap/servlet/rpcrouter and
I'm running the client on the same machine then what should I use for the
parameters.

listenport: ?
tunnelhost: localhost ?
tunnelport: 8080 ?

Where are the docs?


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


RE: How-to: org.apache.util.net.TcpTunnelGui

Posted by Laurent Forêt <l....@korom.net>.

listenport : is the port from the client
tunnelhost : is the host of your rpcrouter
tunnelport : is the port of your rpcrouter

To run the bookaddress example you can do this

launch the rpcrouter on the port 8080 .

launch the TCPTunnel :
java org.apache.soap.util.net.TcpTunnelGui 8081 localhost 8080

launch the client :
java org.apache.soap.server.ServiceManagerClient
http://localhost:8081/soap/servlet/rpcrouter deploy DeploymentDescriptor.xm

The client believes that the rpcrouter is at the port 8081, but in fact it
is at the port 8080. The TCPTunnel make the translation of ports and you can
see what happen on each port.

Hope it helps, regards.

----------------------------------------------------------------------------
-
Laurent Forêt
Service développement

l.foret@korom.net <ma...@korom.net>

www.korom.net <http://www.korom.net>


> -----Message d'origine-----
> De : Stephen [mailto:stephen@webreserve.com]
> Envoyé : mardi 3 avril 2001 07:56
> À : soap-user@xml.apache.org
> Objet : How-to: org.apache.util.net.TcpTunnelGui
>
>
> I know someone has probably already asked this several times but I'm going
> to ask one more time.
>
> How do I use it?... For those of you who are afraid to ask :)
>
> If I have the rpcrouter running on
> localhost:8080/soap/servlet/rpcrouter and
> I'm running the client on the same machine then what should I use for the
> parameters.
>
> listenport: ?
> tunnelhost: localhost ?
> tunnelport: 8080 ?
>
> Where are the docs?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


RE: How-to: org.apache.util.net.TcpTunnelGui

Posted by Laurent Forêt <l....@korom.net>.

listenport : is the port from the client
tunnelhost : is the host of your rpcrouter
tunnelport : is the port of your rpcrouter

To run the bookaddress example you can do this

launch the rpcrouter on the port 8080 .

launch the TCPTunnel :
java org.apache.soap.util.net.TcpTunnelGui 8081 localhost 8080

launch the client :
java org.apache.soap.server.ServiceManagerClient
http://localhost:8081/soap/servlet/rpcrouter deploy DeploymentDescriptor.xm

The client believes that the rpcrouter is at the port 8081, but in fact it
is at the port 8080. The TCPTunnel make the translation of ports and you can
see what happen on each port.

Hope it helps, regards.

----------------------------------------------------------------------------
-
Laurent Forêt
Service développement

l.foret@korom.net <ma...@korom.net>

www.korom.net <http://www.korom.net>


> -----Message d'origine-----
> De : Stephen [mailto:stephen@webreserve.com]
> Envoyé : mardi 3 avril 2001 07:56
> À : soap-user@xml.apache.org
> Objet : How-to: org.apache.util.net.TcpTunnelGui
>
>
> I know someone has probably already asked this several times but I'm going
> to ask one more time.
>
> How do I use it?... For those of you who are afraid to ask :)
>
> If I have the rpcrouter running on
> localhost:8080/soap/servlet/rpcrouter and
> I'm running the client on the same machine then what should I use for the
> parameters.
>
> listenport: ?
> tunnelhost: localhost ?
> tunnelport: 8080 ?
>
> Where are the docs?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org