[jboss-user] [JBossWS] - how to use wsprovide

Fantagir do-not-reply at jboss.com
Thu Oct 11 06:02:58 EDT 2007


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



More information about the jboss-user mailing list