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/02/27 04:24:18 UTC
[jira] Resolved: (SM-1251) CXF BC provider doesn't produce
WS-Addressing Headers
[ 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.