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

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

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
    Affects Versions: servicemix-cxf-bc-2008.01
            Reporter: Andrea Zoppello


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.


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

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reassigned SM-1734:
--------------------------------

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


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

Posted by "Andrea Zoppello (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Zoppello updated SM-1734:
--------------------------------

    Component/s: servicemix-cxf-bc

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


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

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ 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.