I have read various
postings regarding use of authenticating proxies between webservice clients and
webservices, and I am not sure of the consequences of the
posted solutions. Different webservices may need to use different
authenticating proxies. EXAMPLE:
**
One webservice client may access an internal
webservice whos requests pass through one proxy, and a different webservice
client may access an external webservice whos requests must go through a
different proxy.
**
Various Axis users
have posted a solution to the proxy issue which sets properties in the java
"System" class:
**
System.setProperty("proxySet",
"true");
System.setProperty("http.proxyHost", "xxx.xxx.xxx.xxx");
System.setProperty("http.proxyPort", "xxxxx");
System.setProperty("http.proxyUser", "my_user_name");
System.setProperty("http.proxyPassword", "my_password");
System.setProperty("http.proxyHost", "xxx.xxx.xxx.xxx");
System.setProperty("http.proxyPort", "xxxxx");
System.setProperty("http.proxyUser", "my_user_name");
System.setProperty("http.proxyPassword", "my_password");
**
This solution
implies that my entire virtual machine will be using the same http proxy.
This solution may interfere with other programs that run on the same virtual
machine, not to mention that I can not segregate webservice clients too
appropriate proxies. Are there any other
solutions?
