I have an app deployed on IBM WebSphere 8.5.5.0. When the app tries to call a remote web service, I get
java.util.ServiceConfigurationError: javax.xml.ws.spi.Provider: Provider org.apache.axis2.jaxws.spi.Provider not a subtype.
It seems that WAS is picking (probably bundled) Axis2 impl. of the JAX-WS Provider class instead of the CXF one that I want to use.
I tried
Neither of them helped, I still have the same exception.
Interestingly when I print System.getProperty(“javax.xml.ws.spi.Provider”)
from a test JSP within the app, it outputs org.apache.cxf.jaxws.spi.ProviderImpl
.
Thanks for any help
Applying a WebSphere Fix Pack 9 solved the issue completely.