[ https://issues.apache.org/jira/browse/CXF-2839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Sauthier updated CXF-2839: ------------------------------------ Attachment: 0002-CXF-2839-CXF-HttpConduit-doesn-t-read-VM-proxy-setti.patch 0001-Fix-typo.patch * Add NonProxyHosts as a configuration parameter in HTTPConduit * Introduce PatternBuilder + TestCase * Only use Proxy when the hostname is not in the nonProxyHosts list * Directly map HTTPClientPolicy.nonProxyHosts as a Pattern * Use PatternBuilder as a JAXB Adapter * Introduce a systemProxyConfiguration in the HTTPConduit * Hopefully make the proxy selection code a little more readable * Use constants for HTTP proxy property names BTW, is there a better way to exchange patch when using git mirror ? > CXF HttpConduit doesn't read VM proxy settings > ---------------------------------------------- > > Key: CXF-2839 > URL: https://issues.apache.org/jira/browse/CXF-2839 > Project: CXF > Issue Type: Bug > Affects Versions: 2.2.6, 2.2.7, 2.2.8 > Reporter: Idar Borlaug > Attachments: 0001-Fix-typo.patch, > 0002-CXF-2839-CXF-HttpConduit-doesn-t-read-VM-proxy-setti.patch > > > When setting proxy server as VM parameters http.proxyHost, http.proxyPort, > proxySet, http.nonProxyHosts. HttpConduit doesn't read those properties and > set proxy server. > I have to manually set these after creating the client. > if("true".equalsIgnoreCase(System.getProperty("proxySet"))){ > Client client = ClientProxy.getClient(service); > HTTPConduit http = (HTTPConduit) client.getConduit(); > HTTPClientPolicy httpClientPolicy = http.getClient(); > > httpClientPolicy.setProxyServer(System.getProperty("http.proxyHost")); > > httpClientPolicy.setProxyServerPort(Integer.parseInt(System.getProperty("http.proxyPort"))); > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.