I have had many problems because there are different SAAJ packages with SOAP classes:
com/sun/xml/internal/messaging/saaj/soap/
in rt.jarcom/sun/xml/messaging/saaj/soap/
in saaj-impl.jar
When WebLogic uses classes from com/sun/xml/internal/messaging/saaj/soap/
and an application is created using classes from com/sun/xml/messaging/saaj/soap/
, it throws exceptions like these when the app is deployed:
com.sun.xml.internal.messaging.saaj.soap.LocalStrings != com.sun.xml.messaging.saaj.soap.LocalStrings
or
java.lang.NoClassDefFoundError: com/sun/xml/internal/messaging/saaj/soap/SAAJMetaFactoryImpl
My solution was create a weblogic.xml descriptor with saaj reference and including saaj-impl.jar into the war. Question is: Can I know what SAAJ package is used in WebLogic Server?