You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Anuj Agrawal <ag...@yahoo.com> on 2003/03/27 14:42:34 UTC
proxied and non-proxied web services
Our web services client(s) may have to access web services both behind
a corporate firewall and external to the firewall. We'd like to have a
standard way of setting up the client to deal with both situations. Is
the "correct" approach (only approach?) to use:
System.setProperty("http.proxyHost", proxy.hostname.here);
System.setProperty("http.proxyPort", proxy.port.here);
System.setProperty("http.nonProxyHosts", list.of.internal.hosts.here);
Also, should i be including the System.setProperty("proxySet", "true");
line? I've found that without this line, things still appear to work.
Thanks for any help.
Anuj.
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
Re: proxied and non-proxied web services
Posted by Steve Loughran <st...@iseran.com>.
Anuj Agrawal wrote:
> Also, should i be including the System.setProperty("proxySet", "true");
> line? I've found that without this line, things still appear to work.
that's for java1.x only, so not an issue for Axis.