cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eoghan Glynn (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (CXF-2161) WSA handler class MAPCodec is not decoding From header
Date Wed, 08 Apr 2009 15:15:13 GMT

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

Eoghan Glynn reassigned CXF-2161:
---------------------------------

    Assignee: Eoghan Glynn

> 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:
> [adinn@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.


Mime
View raw message