Changing javax.xml.ws.spi.Provider: Provider org.jboss.ws.core.jaxws.spi.ProviderImpl to a non-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. Then, the below exception is shown on the called 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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content