Hi,
When you are using TcpTunnelGui, the format is
<localHostPortNumber> <RemoteHostAddress> <RemoteHostPortNumber>
The second parameter has to be only remote host IP address and not
complete URL,
I guess the following command should work.
java org.apache.soap.util.net.TcpTunnelGui 8070 www-3.ibm.com 80
The relative URL part ("services/uddi/testregistry/inquiryapi") goes as
part of POST header information.
Hope it helps...
regards,
Gopinath M.R.
Sr.Product Engineer,
Aztec software,
Bangalore, INDIA
Tarun Garg wrote:
>
> Can I use TcpTunnelgui to tunnel my soap requests to some host other than
> the localhost ?
> I tried to tunnel the requests to the ibm uddi test registry site and get
> the following error.
> What am I doing wrong ?
>
> C:\apache\soap\soap-2_2>java org.apache.soap.util.net.TcpTunnelGui 8070
> http://www-3.ibm.com/services/uddi/testregistry/inquiryapi 80
> java.net.UnknownHostException:
> http://www-3.ibm.com/services/uddi/testregistry/inquiryapi
> at java.net.InetAddress.getAllByName0(InetAddress.java:571)
> at java.net.InetAddress.getAllByName0(InetAddress.java:540)
> at java.net.InetAddress.getByName(InetAddress.java:449)
> at java.net.Socket.<init>(Socket.java:100)
> at
> org.apache.soap.util.net.TcpTunnelGui$3.run(TcpTunnelGui.java:198)
begin:vcard
n:M.R.;Gopinath
tel;work:Aztec Software
x-mozilla-html:TRUE
url:http://www.aztec.soft.net, http://www.aztecsoft.com
org:Aztec Software
adr:;;Kormangala;Bangalore;Karnataka;560095;India
version:2.1
email;internet:[EMAIL PROTECTED]
title:Sr.Product Engineer
fn:Gopinath
end:vcard