The 2.3.1 release does not accomodate this by itself.  Your code would
have to determine whether the endpoint URL should do through the proxy
or not and either use or not use the proxy as appropriate.

The current code in CVS (and available for download as nightly drops)
can use system properties for the proxy, including the
http.nonProxyHosts property.  With this, you should be able to get the
behavior you desire.  For example, if your proxy is proxy.mydomain.com
and addresses in mydomain.com should not be proxied, you would do
something like





java -Dhttp.proxyHost=proxy.mydomain.com -Dhttp.proxyPort=80 -Dhttp.nonP
roxyHosts=*.mydomain.com
         SoapClientTest

and have Apache SOAP either use the proxy or not depending on the
host(s) being connected to in SoapClientTest.

Note: I am not certain that the syntax for wildcards in
http.nonProxyHosts is exactly as I have shown.

Scott Nichol

----- Original Message -----
From: "Gill, John" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 10, 2002 7:34 PM
Subject: Proxy Bypass


> I'm using Soap2.3.1 through a proxy.  This is working just fine.  Now
a
> situation where I need to use the same soap client to call servers on
both
> the internet and those behind the proxy has arisen.  HELP!  I know
there's a
> way to do it as part of soap, but how?
>
>
>
> John Gill
>
>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to