cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akitoshi Yoshida (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CXF-6699) DefaultAddress not set in HTTPConduit class
Date Wed, 02 Dec 2015 10:58:11 GMT

     [ 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)

Mime
View raw message