• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

using saaj 1.2 with weblogic 8.1

 
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.


java.lang.IllegalArgumentException: endpoint should be String or URL
at weblogic.webservice.core.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:43)



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.

Can anybody help???
 
Rashmi Tambe
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anybody help please???
 
If you look closely at this tiny ad, you will see five bicycles and a naked woman:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic