| Author |
What SAAJ package is used by WebLogic
|
Sonny Benavides
Greenhorn
Joined: Nov 19, 2010
Posts: 2
|
|
I have had many problems because there're different SAAJ packages with SOAP classes (e.g.):
- com/sun/xml/internal/messaging/saaj/soap/ into rt.jar
- com/sun/xml/messaging/saaj/soap/ into 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:
or
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 being used WebLogic Server?
Thanks in advance.
|
 |
James Boswell
Ranch Hand
Joined: Nov 09, 2011
Posts: 657
|
|
|
Which version of Weblogic are you using?
|
 |
Sonny Benavides
Greenhorn
Joined: Nov 19, 2010
Posts: 2
|
|
|
Im using WebLogic Server 11g (v. 10.3.4.0). Thank you.
|
 |
James Boswell
Ranch Hand
Joined: Nov 09, 2011
Posts: 657
|
|
You can use the following code to identify the version of SAAJ Weblogic is using:
I believe by default it is weblogic.webservice.core.soap.MessageFactoryImpl (SAAJ 1.1)
To use SAAJ 1.3, you need to set the system property -Djavax.xml.soap.MessageFactory=weblogic.xml.saaj.MessageFactoryImpl.
|
 |
 |
|
|
subject: What SAAJ package is used by WebLogic
|
|
|