CXF Endpoint is unable to find SAAJ Message Factory
Issue
I am trying to add ws-security information to an outgoing SOAP request within a ServiceMix and a Camel project I have created. I have used what I found regarding this setup from https://github.com/gnodet/camel/tree/trunk/examples/camel-example-reportincident-ws-security-osgi.
This is an exception thrown on bundle deployment:
Caused by: javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider org.apache.axis2.saaj.MessageFactoryImpl not found
at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:89)[106:org.apache.servicemix.specs.saaj-api-1.3:1.8.0]
at org.apache.cxf.binding.soap.saaj.SAAJFactoryResolver.createMessageFactory(SAAJFactoryResolver.java:55)[133:org.apache.cxf.bundle:2.4.3.fuse-00-13]
at org.apache.cxf.binding.soap.saaj.SAAJInInterceptor$SAAJPreInInterceptor.getFactory(SAAJInInterceptor.java:148)[133:org.apache.cxf.bundle:2.4.3.fuse-00-13]
at org.apache.cxf.binding.soap.saaj.SAAJInInterceptor$SAAJPreInInterceptor.handleMessage(SAAJInInterceptor.java:131)[133:org.apache.cxf.bundle:2.4.3.fuse-00-13]
... 9 more
The CXF features are installed.
Environment
- Fuse ESB 4.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.