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

    Interface not impl problems with WS from JSR-181 POJO

    rjacobyez

      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.


        • 1. Re: Interface not impl problems with WS from JSR-181 POJO
          mvargas2012

          rjacobyez,

          I have two strategies for you. Here they are:

          1) Upgrade your JBoss App Server to 4.0.5 as I don't think 4.0.4 supports J2EE 5.

          2) When you install be sure to select the "ejb3" installation. Between the 2 you should be able to get a web service going.

          The client maybe a different story, I have been attempting to write one now for two weeks. Good Luck!