You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2008/12/16 13:21:05 UTC

[jira] Resolved: (SM-1734) JBIOutInterceptor is not correctly handling outgoing WSA Headers

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

Freeman Fang resolved SM-1734.
------------------------------

       Resolution: Fixed
    Fix Version/s: 3.2.4
                   3.3.1
                   servicemix-cxf-bc-2008.02

commit fix
http://svn.apache.org/viewvc?rev=727031&view=rev for 3.2 branch
http://svn.apache.org/viewvc?rev=727038&view=rev for servicemix-cxf-bc component project

> JBIOutInterceptor is not correctly handling outgoing WSA Headers
> ----------------------------------------------------------------
>
>                 Key: SM-1734
>                 URL: https://issues.apache.org/activemq/browse/SM-1734
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-cxf-bc
>    Affects Versions: servicemix-cxf-bc-2008.01
>            Reporter: Andrea Zoppello
>            Assignee: Freeman Fang
>             Fix For: servicemix-cxf-bc-2008.02, 3.3.1, 3.2.4
>
>
> The from NMXHeaders is using the wrong constant:
> The following code in the  "fromNMSHeaders" method: 
>  private void fromNMSHeaders(Message message,
>         if (message instanceof SoapMessage) {
>             Map<String, String> map = (Map<String, String>) normalizedMessage
>                     .getProperty(WSAUtils.WSA_HEADERS_INBOUND);
>             if (map != null) {
>                 AddressingProperties addressingProperties = WSAUtils
>                         .getCXFAddressingPropertiesFromMap(map);
>                 ((SoapMessage) message).put(WSAUtils.WSA_HEADERS_INBOUND,
>                         addressingProperties);
>             }
>         }
>         .....
> should be chnaged into:
>  private void fromNMSHeaders(Message message,
>             NormalizedMessage normalizedMessage) {
>         if (message instanceof SoapMessage) {
>         	
>             Map<String, String> map = (Map<String, String>) normalizedMessage
>                     .getProperty(WSAUtils.WSA_HEADERS_OUTBOUND);
>             if (map != null) {
>                 AddressingProperties addressingProperties = WSAUtils
>                         .getCXFAddressingPropertiesFromMap(map);
>                 ((SoapMessage) message).put(WSAUtils.WSA_HEADERS_OUTBOUND,
>                         addressingProperties);
>             }
>         }

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