[
https://issues.apache.org/activemq/browse/SMXCOMP-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50087#action_50087
]
Francois Mireaux commented on SMXCOMP-466:
------------------------------------------
I write the joined test (for directory
servicemix\deployables\bindingcomponents\servicemix-cxf-bc\src\test\java\org\apache\servicemix\cxfbc\ws\rm)
which fails whith this error in surefire report without the patch :
javax.xml.ws.soap.SOAPFaultException: Fault string, and possibly fault code,
not set
at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:145)
at $Proxy41.hello(Unknown Source)
at
org.apache.servicemix.cxfbc.ws.rm.CxfBcRMBasicTest.testRMEndpointWithExternalConsumer(CxfBcRMBasicTest.java:96)
Caused by: java.lang.NullPointerException
at org.apache.cxf.ws.rm.Servant.createSequenceResponse(Servant.java:177)
at org.apache.cxf.ws.rm.RMManager.getSequence(RMManager.java:341)
at
org.apache.cxf.ws.rm.RMOutInterceptor.handle(RMOutInterceptor.java:129)
at
org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:78)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:229)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:469)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:299)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:251)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124)
... 28 more
The test is OK with the patch
> 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: 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.