3 Replies Latest reply on Sep 24, 2009 4:01 AM by Adrien FERIAL

    error when using wsgen to generet  wsdl

    emailms box Newbie

      this is my code

      @WebService(name = "kukuEnd", serviceName = "kukuTest")
      @SOAPBinding(style = SOAPBinding.Style.DOCUMENT)
      public class MyKuku implements IMyRemoteKuku {
       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

      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 ?