Getting javax.xml.ws.spi.Provider: Provider org.jboss.ws.core.jaxws.spi.ProviderImpl not a subtype in JBossWS

Solution Verified - Updated -

Issue

  • There is a JAX-WS Application with Spring deployed in EAP 5.x which is using the JBossWS-Native Stack. This web service calls another web JAXB web service.
  • Getting the below exception from the callee web service,
SEVERE [com.sun.xml.ws.server.sei.EndpointMethodHandler] (http-0.0.0.0-8080-22) javax.xml.ws.spi.Provider: Provider org.jboss.ws.core.jaxws.spi.ProviderImpl not a subtype
java.util.ServiceConfigurationError: javax.xml.ws.spi.Provider: Provider org.jboss.ws.core.jaxws.spi.ProviderImpl not a subtype
        at java.util.ServiceLoader.fail(ServiceLoader.java:214)
        at java.util.ServiceLoader.access$300(ServiceLoader.java:164)
        at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:352)
        at java.util.ServiceLoader$1.next(ServiceLoader.java:428)
        at javax.xml.ws.spi.Provider.getProviderUsingServiceLoader(Provider.java:180)
        at javax.xml.ws.spi.Provider.provider(Provider.java:140)
        at javax.xml.ws.Service.<init>(Service.java:92)

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.x
  • JBossWS-Native

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.