1 Reply Latest reply on Mar 3, 2007 10:16 PM by Michael Vargas

    Interface not impl problems with WS from JSR-181 POJO

    Rafi Jacoby Newbie

      Hi,

      I'm not getting the webservice to generate from even the simplest JSR-181 POJO.

      Writing a simple example class as follows, in a WS-natured project, gives an error popup with:

      "The class 'foo.HelloWorldService' does not implement any interfaces"


      However, the "@WebService" annotation indicates that it is implementing the javax.jsw.WebService interface, right?

      package foo;
      
      import javax.jws.WebMethod;
      import javax.jws.WebService;
      
      @WebService
      public class HelloWorldService {
       @WebMethod
       public String helloWorld() {
       return "Hello World!";
       }
      }
      


      I'm using Eclipse 3.2, JBoss Eclipse IDE 2.0.0.b2, JBoss 4.0.4, Java 1.5.0_11-b03.

      Any help would be great.