JBossWS-CXF: Exception calling MessageFactory.newInstance()
Issue
We recently upgraded to EAP 5.1.2 from 5.1.0. We have some code that calls:
javax.xml.soap.MessageFactory.newInstance("SOAP 1.1 Protocol")
In 5.1.0, this returns an instance of com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl but in 5.1.2, this throws a NoClassDefFoundError.
Environment
- JBoss Enterprise Application Platform (EAP) 5.1+
- JBossWS-CXF
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.