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.

Reply via email to