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 Matthijs Lambooy <la...@crossmarx.nl> on 2002/12/12 20:55:12 UTC
soap client and squid proxy
How do I connect a soap client application (not a web browser)
to a webservice through a proxy.
For example my client app is behind a squid proxy server host
192.168.1.1 port 81
and the webservice it tries to connect to is somewhere on the internet
www.somewhereontheinternet.com/soap/servlet/rpcrouter
I already tried java -Dhttp.proxyHost=192.168.1.1 -Dhttp.proxyPort=81
mySoapClient
Does anyone have a clue ?
Matthijs
Re: soap client and squid proxy
Posted by Scott Nichol <sn...@scottnichol.com>.
If you use a nightly build of Apache SOAP
(http://cvs.apache.org/dist/soap/nightly/), what you already tried will
work. With Apache SOAP 2.3.1 and earlier, you must set proxy
information explicitly in your code. The guidgen sample client does
this, allowing the user to specify information as command line
arguments.
Scott Nichol
----- Original Message -----
From: "Matthijs Lambooy" <la...@crossmarx.nl>
To: <so...@xml.apache.org>
Sent: Thursday, December 12, 2002 2:55 PM
Subject: soap client and squid proxy
> How do I connect a soap client application (not a web browser)
> to a webservice through a proxy.
>
> For example my client app is behind a squid proxy server host
> 192.168.1.1 port 81
> and the webservice it tries to connect to is somewhere on the internet
> www.somewhereontheinternet.com/soap/servlet/rpcrouter
>
> I already tried java -Dhttp.proxyHost=192.168.1.1 -Dhttp.proxyPort=81
> mySoapClient
>
> Does anyone have a clue ?
>
> Matthijs
>
>
> --
> To unsubscribe, e-mail:
<ma...@xml.apache.org>
> For additional commands, e-mail:
<ma...@xml.apache.org>
>
>
Re: soap client and squid proxy
Posted by Scott Nichol <sn...@scottnichol.com>.
If you use a nightly build of Apache SOAP
(http://cvs.apache.org/dist/soap/nightly/), what you already tried will
work. With Apache SOAP 2.3.1 and earlier, you must set proxy
information explicitly in your code. The guidgen sample client does
this, allowing the user to specify information as command line
arguments.
Scott Nichol
----- Original Message -----
From: "Matthijs Lambooy" <la...@crossmarx.nl>
To: <so...@xml.apache.org>
Sent: Thursday, December 12, 2002 2:55 PM
Subject: soap client and squid proxy
> How do I connect a soap client application (not a web browser)
> to a webservice through a proxy.
>
> For example my client app is behind a squid proxy server host
> 192.168.1.1 port 81
> and the webservice it tries to connect to is somewhere on the internet
> www.somewhereontheinternet.com/soap/servlet/rpcrouter
>
> I already tried java -Dhttp.proxyHost=192.168.1.1 -Dhttp.proxyPort=81
> mySoapClient
>
> Does anyone have a clue ?
>
> Matthijs
>
>
> --
> To unsubscribe, e-mail:
<ma...@xml.apache.org>
> For additional commands, e-mail:
<ma...@xml.apache.org>
>
>