according to This link, weblogic 8.1 implements SAAJ 1.1 version. How can i use SAAJ 1.2 with weblogic 8.1?
I removed webservices.jar from startweblogic.bat script. then i put saaj-api.jar and saaj-impl.jar (from JWSDP 1.4) in app server's classpath. Thirdly, i deployed an EJB that uses SAAJ 1.2 . However, I am getting following exception which shows that the bean is still using weblogic's implementation of SAAJ i.e. version 1.1.
how can i get rid of this and use SOAPConnection from saaj-impl.jar library??? Even after removing webservices.jar from the classpath, weblogic seems to load it and some how it is used.
I came across a prefer-web-inf-classes element that can be set in weblogic.xml while deploying web aplication. Setting this element to True subverts the classloader delegation model so that class definitions from the Web application are loaded in preference to class definitions in higher-level classloaders. This allows a Web application to use its own version of a third-party class. However, such facility seems to be unavailable for an ear deployment of EJB.