Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.4
-
None
-
None
-
JDK 1.4, Windows / Unix, Axis 1.4
Description
I use client executing webservices using Axis and I set proxy details via system properties (for other purposes), such that ip of server with WS is excluded. When I try to connect to my server by host name Axis goes to proxy, although it should be ignored. When I do the same by ip (rather than name) it works fine. Note that same situation is handled corectly by java HttpURLConnection.
AXIS should resolve host names prior to matching them in exclusion list (org.apache.axis.components.net.DefaultSocketFactory.isHostInNonProxyList).
To reproduce the problem connect to local server (10.xxx.xxx.xxx) by name and set system properties as follows
-Dhttp.proxyHost=<host>
-Dhttp.proxyPort=<port>
-Dhttp.nonProxyHosts=10.*