aspose file tools*
The moose likes Websphere and the fly likes Can't create the right SOAPFactory when running in WebSphere. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Can Watch "Can New topic
Author

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

Jesse Liberty
Greenhorn

Joined: Jul 22, 2009
Posts: 1
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!
Michael Heinrich
Greenhorn

Joined: Feb 26, 2010
Posts: 1
Did you find a solution for your problem. I'm facing the same problem an could find a solution.
Praveen Kumar Jayaram
Ranch Hand

Joined: Jul 14, 2008
Posts: 54
Got any solution?


Praveen
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can't create the right SOAPFactory when running in WebSphere.
 
Similar Threads
Help generating Web services from WSDL with OUT parameters using WebSphere / RAD v6.0
Axis2 1.4 Client Transport error: 501 Error: Not Implemented
Consuming 3rd Party web services
Servlet to control a web-application
IBM HttpServer and websphere Appserver