For SSL connections, use https.nonProxyHosts.

Scott Nichol

----- Original Message -----
From: "Gill, John" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 11, 2002 12:48 PM
Subject: RE: Proxy Bypass


> I'm looking at a code solution for this.  The nonProxyHosts property
> apparently only applies to non ssl'd connections
>
> John Gill
>
> -----Original Message-----
> From: Scott Nichol [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 10, 2002 7:45 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Proxy Bypass
>
> The syntax for http.nonProxyHosts can be seen at
> http://java.sun.com/j2se/1.4.1/docs/guide/net/properties.html.
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Scott Nichol" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, October 10, 2002 8:42 PM
> Subject: Re: Proxy Bypass
>
>
> > 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]>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to