Got "Provider for javax.xml.soap.MessageFactory cannot be found" when making a web service call
Issue
We have a SOAP web service working properly on Fuse 6.1. After modifying pom.xml and deploying it to Fuse 6.2.1, we got the following error when making a web service call:
Caused by: javax.xml.soap.SOAPException: Unable to create MessageFactory: Provider for javax.xml.soap.MessageFactory cannot be found
There was a workaround mentioned on some forum posts suggesting to remove org.apache.servicemix.specs.saaj-api-1.3-2.5.0.jar from "<JBoss_Fuse_home>/lib/endorsed/" folder but we don't want to do that as our Fuse server are being used by many teams and hosts a lot of bundles.
Is there another solution available?
Environment
- JBoss Fuse
- 6.2.1
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.
