JBossWS-CXF: Exception calling MessageFactory.newInstance()

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content