Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4AAAF181C5 for ; Wed, 2 Dec 2015 10:58:11 +0000 (UTC) Received: (qmail 60258 invoked by uid 500); 2 Dec 2015 10:58:11 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 60211 invoked by uid 500); 2 Dec 2015 10:58:11 -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 60181 invoked by uid 99); 2 Dec 2015 10:58:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2015 10:58:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 087A62C1F61 for ; Wed, 2 Dec 2015 10:58:11 +0000 (UTC) Date: Wed, 2 Dec 2015 10:58:11 +0000 (UTC) From: "Akitoshi Yoshida (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CXF-6699) DefaultAddress not set in HTTPConduit class MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-6699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akitoshi Yoshida reassigned CXF-6699: ------------------------------------- Assignee: Akitoshi Yoshida > DefaultAddress not set in HTTPConduit class > ------------------------------------------- > > Key: CXF-6699 > URL: https://issues.apache.org/jira/browse/CXF-6699 > Project: CXF > Issue Type: Bug > Components: Transports > Affects Versions: 3.0.7 > Reporter: Kai Rommel > Assignee: Akitoshi Yoshida > > With [CXF-6404] changes to class HTTPConduit were introduced, which leads to regression errors. > Commit 1b7e0dfc9c2eb3249ec12624ef3aff473424265c removes the setting of the variable result with the DefaultAddress in line 682. > When in the latest implementation of method setupAddress() only QUERY_STRING is set, in line 691 following address will be set: > result = result + "?" + queryString; > To receive a valid address, result must be set before. Therefore add after line 684: result = defaultAddress.getString(); > Section should look this way: > if (defaultAddress != null) { > result = defaultAddress.getString(); > message.put(Message.ENDPOINT_ADDRESS, > defaultAddress.getString()); > } > Best regards > Kai -- This message was sent by Atlassian JIRA (v6.3.4#6332)