[jboss-user] [JBossWS] - error when using wsgen to generet wsdl

emailmsgbox do-not-reply at jboss.com
Fri Aug 4 07:02:04 EDT 2006


this is my code

  | @WebService(name = "kukuEnd", serviceName = "kukuTest")
  | @SOAPBinding(style = SOAPBinding.Style.DOCUMENT)
  | 
  | 
  | //@Stateless
  | 
  | public class MyKuku implements IMyRemoteKuku {
  |      @WebMethod     
  |      public int getInt() {
  |         return 0;  
  |     }
  | }
  | 
simple and harmless.
when It use the wsgen to manually generate wsdl it work .
but when I  un-comment the @Stateless

I get the following error 

wsgen
error: Could not create declaration for annotation type javax.ejb.Stateless


yes I also tried adding jboss-ejb3x.jar that hold the @stateless

any ideas ?

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963141



More information about the jboss-user mailing list