You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Akitoshi Yoshida (JIRA)" <ji...@apache.org> on 2015/12/02 12:04:10 UTC
[jira] [Resolved] (CXF-6699) DefaultAddress not set in HTTPConduit
class
[ https://issues.apache.org/jira/browse/CXF-6699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Akitoshi Yoshida resolved CXF-6699.
-----------------------------------
Resolution: Fixed
Fix Version/s: 3.2.0
3.0.8
3.1.5
fixed, thanks to kai.
> 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
> Fix For: 3.1.5, 3.0.8, 3.2.0
>
>
> 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)