Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 90260 invoked from network); 19 Oct 2010 15:20:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Oct 2010 15:20:54 -0000 Received: (qmail 67275 invoked by uid 500); 19 Oct 2010 15:20:54 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 67034 invoked by uid 500); 19 Oct 2010 15:20:53 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 67007 invoked by uid 99); 19 Oct 2010 15:20:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Oct 2010 15:20:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Oct 2010 15:20:50 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9JFKT9J002230 for ; Tue, 19 Oct 2010 15:20:29 GMT Message-ID: <20745515.48131287501629339.JavaMail.jira@thor> Date: Tue, 19 Oct 2010 11:20:29 -0400 (EDT) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Subject: [jira] Assigned: (CXF-2839) CXF HttpConduit doesn't read VM proxy settings In-Reply-To: <10108981.211511275893994343.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp reassigned CXF-2839: -------------------------------- Assignee: Daniel Kulp > 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 > Assignee: Daniel Kulp > 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.