Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
2.2.9
-
None
-
Any OS - Weblogic Application Server 10.3.3 0r .4
-
Moderate
Description
When calling CXF SOAP services getting the following error
Caused by: java.lang.IllegalArgumentException: com.sun.xml.internal.messaging.saaj.soap.LocalStrings != com.sun.xml.messaging.saaj.soap.LocalStrings
Have always had to add the following two properties to the start up of Weblogic
EXTRA_JAVA_PROPERTIES="${EXTRA_JAVA_PROPERTIES} -Djavax.xml.soap.MessageFactory=com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl"
export EXTRA_JAVA_PROPERTIES
EXTRA_JAVA_PROPERTIES="${EXTRA_JAVA_PROPERTIES} -Djavax.xml.soap.SOAPConnectionFactory=com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnectionFactory"
export EXTRA_JAVA_PROPERTIES
But with the latest version we get this new error. I know it is a difference between the SAAJ impl in the JDk versus the impl in CXF.
Adding saaj-impl-1.3.2.jar to the PRE_CLASSPATH of Weblogic fixes the issue but is that right?
Thanks