You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by "Rory Braybrook (DSLAK)" <Ro...@datacom.co.nz> on 2002/01/11 00:46:51 UTC

TcpTunnelGui parameters

When I send the following command , all is well and works.

java SOAPClient http://development:85/Manager.WSDL
<http://development:85/Manager.WSDL> 

However , when I want to monitor the traffic using TcpTunnelGui as follows :

java SOAPClient http://localhost:8001 <http://localhost:8001> 

java org.apache.soap.util.net.TcpTunnelGui 8001 development 85


I get the following error :

HTTP/1.1 400 Bad RequestServer: Microsoft-IIS/5.0Date: Thu, 10 Jan 2002
23:35:05 GMTContent-Type: text/htmlContent-Length:
87<html><head><title>Error</title></head><body>The parameter is incorrect.
</body></html>

So it's all talking but it seems to the wrong place.

How do I add the /Manager.WSDL part to the TcpTunnelGui command line ?

Thanks



Re: TcpTunnelGui parameters

Posted by Simon Fell <so...@zaks.demon.co.uk>.
Hi John,

You typically get this when the server is using host headers, when you send
through tcpTunnelGui, you end up with a host: localhost header instead of
the host:development header that the server is looking for. Someone on the
Axis list was talking about modifying tcpTunnelGui to re-write the host
header, don't know if it got done. If you've got a win32 box then
proxyTrace[1] or pcapTrace[2] will probably work better

Cheers
Simon
www.pocketsoap.com
[1] www.pocketsoap.com/tcptrace/pt.asp
[2] www.pocketsoap.com/pcapTrace/

----- Original Message -----
From: "John Prout" <jc...@bluedot.com>
To: <so...@xml.apache.org>
Sent: Thursday, January 10, 2002 4:13 PM
Subject: RE: TcpTunnelGui parameters


>
> When I send the following command , all is well and works.
>
> java SOAPClient http://development:85/Manager.WSDL
> <http://development:85/Manager.WSDL>
>
> However , when I want to monitor the traffic using TcpTunnelGui as follows
:
>
> java SOAPClient http://localhost:8001 <http://localhost:8001>
>
> java org.apache.soap.util.net.TcpTunnelGui 8001 development 85
>
>
> I get the following error :
>
> HTTP/1.1 400 Bad RequestServer: Microsoft-IIS/5.0Date: Thu, 10 Jan 2002
> 23:35:05 GMTContent-Type: text/htmlContent-Length:
> 87<html><head><title>Error</title></head><body>The parameter is incorrect.
> </body></html>
>
> So it's all talking but it seems to the wrong place.
>
> How do I add the /Manager.WSDL part to the TcpTunnelGui command line ?
>
> ----
>
> You don't, you add it to the URL you pass to your SOAPClient. i.e.
> java SOAPClient http://localhost:8001/Manager.WSDL etc, assuming you're
> running TcpTunnelGui on localhost
>
> Thanks
>


Re: TcpTunnelGui parameters

Posted by Simon Fell <so...@zaks.demon.co.uk>.
Hi John,

You typically get this when the server is using host headers, when you send
through tcpTunnelGui, you end up with a host: localhost header instead of
the host:development header that the server is looking for. Someone on the
Axis list was talking about modifying tcpTunnelGui to re-write the host
header, don't know if it got done. If you've got a win32 box then
proxyTrace[1] or pcapTrace[2] will probably work better

Cheers
Simon
www.pocketsoap.com
[1] www.pocketsoap.com/tcptrace/pt.asp
[2] www.pocketsoap.com/pcapTrace/

----- Original Message -----
From: "John Prout" <jc...@bluedot.com>
To: <so...@xml.apache.org>
Sent: Thursday, January 10, 2002 4:13 PM
Subject: RE: TcpTunnelGui parameters


>
> When I send the following command , all is well and works.
>
> java SOAPClient http://development:85/Manager.WSDL
> <http://development:85/Manager.WSDL>
>
> However , when I want to monitor the traffic using TcpTunnelGui as follows
:
>
> java SOAPClient http://localhost:8001 <http://localhost:8001>
>
> java org.apache.soap.util.net.TcpTunnelGui 8001 development 85
>
>
> I get the following error :
>
> HTTP/1.1 400 Bad RequestServer: Microsoft-IIS/5.0Date: Thu, 10 Jan 2002
> 23:35:05 GMTContent-Type: text/htmlContent-Length:
> 87<html><head><title>Error</title></head><body>The parameter is incorrect.
> </body></html>
>
> So it's all talking but it seems to the wrong place.
>
> How do I add the /Manager.WSDL part to the TcpTunnelGui command line ?
>
> ----
>
> You don't, you add it to the URL you pass to your SOAPClient. i.e.
> java SOAPClient http://localhost:8001/Manager.WSDL etc, assuming you're
> running TcpTunnelGui on localhost
>
> Thanks
>


RE: TcpTunnelGui parameters

Posted by John Prout <jc...@bluedot.com>.
When I send the following command , all is well and works.

java SOAPClient http://development:85/Manager.WSDL
<http://development:85/Manager.WSDL>

However , when I want to monitor the traffic using TcpTunnelGui as follows :

java SOAPClient http://localhost:8001 <http://localhost:8001>

java org.apache.soap.util.net.TcpTunnelGui 8001 development 85


I get the following error :

HTTP/1.1 400 Bad RequestServer: Microsoft-IIS/5.0Date: Thu, 10 Jan 2002
23:35:05 GMTContent-Type: text/htmlContent-Length:
87<html><head><title>Error</title></head><body>The parameter is incorrect.
</body></html>

So it's all talking but it seems to the wrong place.

How do I add the /Manager.WSDL part to the TcpTunnelGui command line ?

----

You don't, you add it to the URL you pass to your SOAPClient. i.e.
java SOAPClient http://localhost:8001/Manager.WSDL etc, assuming you're
running TcpTunnelGui on localhost

Thanks


RE: TcpTunnelGui parameters

Posted by John Prout <jc...@bluedot.com>.
When I send the following command , all is well and works.

java SOAPClient http://development:85/Manager.WSDL
<http://development:85/Manager.WSDL>

However , when I want to monitor the traffic using TcpTunnelGui as follows :

java SOAPClient http://localhost:8001 <http://localhost:8001>

java org.apache.soap.util.net.TcpTunnelGui 8001 development 85


I get the following error :

HTTP/1.1 400 Bad RequestServer: Microsoft-IIS/5.0Date: Thu, 10 Jan 2002
23:35:05 GMTContent-Type: text/htmlContent-Length:
87<html><head><title>Error</title></head><body>The parameter is incorrect.
</body></html>

So it's all talking but it seems to the wrong place.

How do I add the /Manager.WSDL part to the TcpTunnelGui command line ?

----

You don't, you add it to the URL you pass to your SOAPClient. i.e.
java SOAPClient http://localhost:8001/Manager.WSDL etc, assuming you're
running TcpTunnelGui on localhost

Thanks