• 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Can't create the right SOAPFactory when running in WebSphere.

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We have some JAX-WS web service code that runs within WebSphere 6.1. We call a third-party Java library (IBM FileNet P8) that interacts with some other web services on another server.

Running our code from the command line works just fine. However, when we deploy to WebSphere, somewhere within these third-party libraries, the following fatal exception is thrown:

I dug into some of those methods and found that there is a call SOAPFactory.newInstance() that returns a type of: com.ibm.ws.webservices.engine.xmlsoap.SOAPFactory. This class seems to cause the incompatibility.

In GlassFish, I can get the same code working by setting the property javax.xml.soap.SOAPFactory=com.systinet.saaj.soap.SOAPFactoryImpl. According to this javadoc article that changes the SOAPFactory that gets used. When I do this in GlassFish, the code works.

The problem is that this property doesn't seem make any difference within WebSphere.

Any ideas about how I could do more to either diagnose or fix this problem? Thanks!
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you find a solution for your problem. I'm facing the same problem an could find a solution.
 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Got any solution?
 
If you have a bad day in October, have a slice of banana cream pie. And this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic