2 Replies Latest reply on Oct 11, 2007 2:47 PM by Peter Johnson

    how to use wsprovide

    Montero Oñate Newbie

      Hi!

      I'm trying to generate the wsdl file and the artifacts of a webservice using wsprovide but appears the next error:

      Generating WSDL
      Error: Could not generate.
      java.lang.NoClassDefFoundError: javax/ejb/Stateless

      I'm working with Jboss-4.2.0GA. I execute the command wsprovide like this:

      c:\work> <Jboss-home>\bin\wsprovide -t -w echo.Echo

      My directory try is:

      c:\work\
      jboss-jaxws.jar
      echo\
      Echo.class
      Echo.java
      jboss-jaxws.jar

      My code is:

      package echo;
      
      @javax.jws.WebService
      public class Echo
      {
       public String echo(String input)
       {
       return input;
       }
      }


      Thanks