[ 
https://issues.apache.org/jira/browse/CXF-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eoghan Glynn resolved CXF-2161.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.1
                   2.1.5
                   2.0.11

> WSA handler class MAPCodec is not decoding From header
> ------------------------------------------------------
>
>                 Key: CXF-2161
>                 URL: https://issues.apache.org/jira/browse/CXF-2161
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.4
>         Environment: CXF 2.1.4 embedded in JBossWS 3.1.0 running on JBossAS 
> 5.1.0.Beta1
>            Reporter: Andrew Dinn
>            Assignee: Eoghan Glynn
>             Fix For: 2.0.11, 2.1.5, 2.2.1
>
>
> Class MAPCodec includes code to encode the WSA From address contained in the 
> client addressing properties into an outgoing SOAP header. However, it does 
> not include any code to decode this field from the incoming SOAP headers at 
> the receiving end.
> The relevant patch is as follows:
> [ad...@toby cxf-2.1.4]$ svn diff 
> rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/soap/MAPCodec.java
> Index: 
> rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/soap/MAPCodec.java
> ===================================================================
> --- rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/soap/MAPCodec.java  
> (revision 761707)
> +++ rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/soap/MAPCodec.java  
> (working copy)
> @@ -463,6 +463,12 @@
>                                                         
> AttributedURIType.class,
>                                                         headerElement, 
>                                                         unmarshaller));
> +                            } else if 
> (Names.WSA_FROM_NAME.equals(localName)) {
> +                                maps.setFrom(decodeAsNative(
> +                                                       headerURI,
> +                                                       
> EndpointReferenceType.class,
> +                                                       headerElement,
> +                                                       unmarshaller));
>                              } else if (Names.WSA_TO_NAME.equals(localName)) {
>                                  AttributedURIType addr = decodeAsNative(
>                                                         headerURI,

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to