WS-RM: RMCaptureInInterceptor causingNullPointerException in DestinationSequence in CXF
Issue
-
For our scenarios all WS-RM Features have to work inside JBoss EAP, both as a client (wrapped by an SLSB) and as a provider.
The issue occurs with our (formerly) working example after configuring the persistent store for WS-RM. -
The class
org.apache.cxf.ws.rm.DestinationSequencethrows a NullPointerException in theacknowledge(.)method when persistence is turned on.
The reason for that is that theRMCaptureInInterceptoris not in the chain, if WS-RM is enabled by using a policy in the WSDL or just turning on the WS-RM feature.
Configuring all interceptors ourselves solves the problem. This is not nice...and theRMCaptureInInterceptorwhich is needed is not even mentioned in the documentation http://cxf.apache.org/docs/wsrmconfiguration.html. -
We already created a JIRA for that where you can find more details: https://issues.apache.org/jira/browse/CXF-6274
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.3.3
- Apache CXF, WS-RM
- JBossWS-CXF
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
