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