Axis doesn't handle host names specified in http.nonProxyList correctly
-----------------------------------------------------------------------
Key: AXIS-2760
URL: https://issues.apache.org/jira/browse/AXIS-2760
Project: Axis
Issue Type: Bug
Components: Basic Architecture
Affects Versions: 1.4
Environment: JDK 1.4, Windows / Unix, Axis 1.4
Reporter: Artyom Karalov
Priority: Minor
Fix For: 1.4
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.*
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]