[
https://issues.apache.org/activemq/browse/SMXCOMP-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50217#action_50217
]
Freeman Fang commented on SMXCOMP-466:
--------------------------------------
Hi Francois,
Only BareOutInterceptor is needed here to create sequence response message when
use ws-rm, but it's not a general necessary interceptor for servicemix-cxf-bc.
So the solution should be add BareOutInterceptor yourself to the configure file
when you need enable ws-rm.
something like in rminterceptors.xml which is used in your testcase
add
{code}
<bean id="bareOut" class="org.apache.cxf.interceptor.BareOutInterceptor"/>
<property name="outInterceptors">
<list>
<ref bean="mapAggregator"/>
<ref bean="mapCodec"/>
<ref bean="rmLogicalOut"/>
<ref bean="rmCodec"/>
<ref bean="bareOut"/>
</list>
</property>
{code}
But I do like the testcase you append here, I'd like to add this test in our
code.
Thanks
Freeman
> WS-RM : the CreateSequenceResponse body is void
> -----------------------------------------------
>
> Key: SMXCOMP-466
> URL: https://issues.apache.org/activemq/browse/SMXCOMP-466
> Project: ServiceMix Components
> Issue Type: Bug
> Components: servicemix-cxf-bc
> Environment: WIndws XP
> Reporter: Francois Mireaux
> Assignee: Freeman Fang
> Attachments: CxfBcRMBasicTest.java, smx-cxf-bc-2008.01.patch,
> smx-cxfbc.patch
>
>
> When WS-RM is activated, the CreateSequence request is correctly treated and
> a CreateSequenceResponse body is created and stored in content as List. But
> the only out interceptor JbiOutWsdl1Interceptor set by CxfBcConsumer is only
> aware of Source content and the resulted body is void which leads to an
> client error.
> The proposed path of CxfBcConsumer adds two new out interceptor to the
> endpoint list WrappedOutInterceptor and BareOutInterceptor. Tests are OK but
> I am far to be sure that's the good solution or the best one.
> Note : the RM surefire tests seems to test the CXF WS-RM capacities rather
> than the servicemix-cxf-bc one's.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.