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 12:33:05 UTC

[jira] Work started: (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 ]

Work on SM-1734 started by Freeman Fang.

> 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
>
> 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.