5 Replies Latest reply on Sep 19, 2007 7:18 AM by Thomas Diesler

    Error: Unable to createEndpointReference Provider

    Sebastian Wenzky Newbie

      Hi there again,
      i´ve processed the first steps at the user-guide(it belongs to the Echo Java Tutorial) tutorial and currently i standing for a problem where i´ve personally no matter what this error want from me.

      When i had created all of the java-files by wsconsume and trying to building the client (excerpt)

      package echo;
      import java.net.MalformedURLException;
      import java.net.URL;
      import javax.xml.namespace.QName;
      import javax.xml.ws.Service;
      import javax.xml.ws.WebEndpoint;
      import javax.xml.ws.WebServiceClient;
       * JBossWS Generated Source
       * Generation Date: Fri May 18 14:07:30 CEST 2007
       * This generated source code represents a derivative work of the input to
       * the generator that produced it. Consult the input for the copyright and
       * terms of use that apply to this source code.
       * JAX-WS Version: 2.0
      @WebServiceClient(name = "EchoService", targetNamespace = "http://echo/", wsdlLocation = "http://localhost:8080/echo/Echo?wsdl")
      public class EchoService
       extends Service
       private final static URL ECHOSERVICE_WSDL_LOCATION;
       static {
       URL url = null;
       try {
       url = new URL("http://localhost:8080/echo/Echo?wsdl");
       } catch (MalformedURLException e) {
       public EchoService(URL wsdlLocation, QName serviceName) {
       super(wsdlLocation, serviceName);
       public EchoService() {
       super(ECHOSERVICE_WSDL_LOCATION, new QName("http://echo/", "EchoService"));
       * @return
       * returns Echo
       @WebEndpoint(name = "EchoPort")
       public Echo getEchoPort() {
       return (Echo)super.getPort(new QName("http://echo/", "EchoPort"), Echo.class);

      i getting this error during executing time:

      Exception in thread "main" javax.xml.ws.WebServiceException: Unable to createEndpointReference Provider: Failed to load javax.xml.ws.spi.Provider: org.jboss.ws.core.jaxws.spi.ProviderImpl
      at javax.xml.ws.spi.Provider.provider(Provider.java:99)
      at javax.xml.ws.Service.<init>(Service.java:83)
      at echo.EchoService.<init>(EchoService.java:46)
      at EchoClient.main(EchoClient.java:13)