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

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093954#4093954

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093954
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to