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:

anonymous wrote :   "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.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019561
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to