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

[jira] Created: (SM-1251) CXF BC provider doesn't produce WS-Addressing Headers

CXF BC provider doesn't produce WS-Addressing Headers
-----------------------------------------------------

                 Key: SM-1251
                 URL: https://issues.apache.org/activemq/browse/SM-1251
             Project: ServiceMix
          Issue Type: Bug
          Components: servicemix-cxf-bc
    Affects Versions: 3.2.1
            Reporter: Gianfranco Boccalon


This work should be done by the MAPCodec interceptor, in the method mediate().
The problem is that the ContextUtils.isOutbound(message) check returns false, so the wrong code is executed.

The fix that I found is adding the following code in the CxfBcProvider:

        cxfExchange.setOutMessage(message);

just after the creation the CXF exchange, that means after these rows:

        Exchange cxfExchange = new ExchangeImpl();
        message.setExchange(cxfExchange);

I dont provide the diff file because my cxf provider is now very different from the original one, and contains a lot of changes for managing different problems.


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


[jira] Updated: (SM-1251) CXF BC provider doesn't produce WS-Addressing Headers

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

Guillaume Nodet updated SM-1251:
--------------------------------

    Fix Version/s: servicemix-cxf-bc-2008.01

> CXF BC provider doesn't produce WS-Addressing Headers
> -----------------------------------------------------
>
>                 Key: SM-1251
>                 URL: https://issues.apache.org/activemq/browse/SM-1251
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-cxf-bc
>    Affects Versions: 3.2.1
>            Reporter: Gianfranco Boccalon
>            Assignee: Freeman Fang
>             Fix For: 3.2.2, 3.3, servicemix-cxf-bc-2008.01
>
>
> This work should be done by the MAPCodec interceptor, in the method mediate().
> The problem is that the ContextUtils.isOutbound(message) check returns false, so the wrong code is executed.
> The fix that I found is adding the following code in the CxfBcProvider:
>         cxfExchange.setOutMessage(message);
> just after the creation the CXF exchange, that means after these rows:
>         Exchange cxfExchange = new ExchangeImpl();
>         message.setExchange(cxfExchange);
> I dont provide the diff file because my cxf provider is now very different from the original one, and contains a lot of changes for managing different problems.

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


[jira] Resolved: (SM-1251) CXF BC provider doesn't produce WS-Addressing Headers

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

Freeman Fang resolved SM-1251.
------------------------------

    Fix Version/s: 3.2.2
                   3.3
       Resolution: Fixed

> CXF BC provider doesn't produce WS-Addressing Headers
> -----------------------------------------------------
>
>                 Key: SM-1251
>                 URL: https://issues.apache.org/activemq/browse/SM-1251
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-cxf-bc
>    Affects Versions: 3.2.1
>            Reporter: Gianfranco Boccalon
>            Assignee: Freeman Fang
>             Fix For: 3.2.2, 3.3
>
>
> This work should be done by the MAPCodec interceptor, in the method mediate().
> The problem is that the ContextUtils.isOutbound(message) check returns false, so the wrong code is executed.
> The fix that I found is adding the following code in the CxfBcProvider:
>         cxfExchange.setOutMessage(message);
> just after the creation the CXF exchange, that means after these rows:
>         Exchange cxfExchange = new ExchangeImpl();
>         message.setExchange(cxfExchange);
> I dont provide the diff file because my cxf provider is now very different from the original one, and contains a lot of changes for managing different problems.

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


[jira] Commented: (SM-1251) CXF BC provider doesn't produce WS-Addressing Headers

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41442#action_41442 ] 

Freeman Fang commented on SM-1251:
----------------------------------

commit fix on behalf of Gianfranco Boccalon
http://svn.apache.org/viewvc?rev=631470&view=rev for 3.3 branch
http://svn.apache.org/viewvc?rev=631473&view=rev for 3.2.2 branch

thanks Gianfranco Boccalon

Freeman

> CXF BC provider doesn't produce WS-Addressing Headers
> -----------------------------------------------------
>
>                 Key: SM-1251
>                 URL: https://issues.apache.org/activemq/browse/SM-1251
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-cxf-bc
>    Affects Versions: 3.2.1
>            Reporter: Gianfranco Boccalon
>            Assignee: Freeman Fang
>             Fix For: 3.2.2, 3.3
>
>
> This work should be done by the MAPCodec interceptor, in the method mediate().
> The problem is that the ContextUtils.isOutbound(message) check returns false, so the wrong code is executed.
> The fix that I found is adding the following code in the CxfBcProvider:
>         cxfExchange.setOutMessage(message);
> just after the creation the CXF exchange, that means after these rows:
>         Exchange cxfExchange = new ExchangeImpl();
>         message.setExchange(cxfExchange);
> I dont provide the diff file because my cxf provider is now very different from the original one, and contains a lot of changes for managing different problems.

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


[jira] Assigned: (SM-1251) CXF BC provider doesn't produce WS-Addressing Headers

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

Freeman Fang reassigned SM-1251:
--------------------------------

    Assignee: Freeman Fang

> CXF BC provider doesn't produce WS-Addressing Headers
> -----------------------------------------------------
>
>                 Key: SM-1251
>                 URL: https://issues.apache.org/activemq/browse/SM-1251
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-cxf-bc
>    Affects Versions: 3.2.1
>            Reporter: Gianfranco Boccalon
>            Assignee: Freeman Fang
>
> This work should be done by the MAPCodec interceptor, in the method mediate().
> The problem is that the ContextUtils.isOutbound(message) check returns false, so the wrong code is executed.
> The fix that I found is adding the following code in the CxfBcProvider:
>         cxfExchange.setOutMessage(message);
> just after the creation the CXF exchange, that means after these rows:
>         Exchange cxfExchange = new ExchangeImpl();
>         message.setExchange(cxfExchange);
> I dont provide the diff file because my cxf provider is now very different from the original one, and contains a lot of changes for managing different problems.

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