[jboss-user] [JBoss Eclipse IDE (users)] - Interface not impl problems with WS from JSR-181 POJO
rjacobyez
do-not-reply at jboss.com
Tue Feb 20 16:43:22 EST 2007
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
More information about the jboss-user
mailing list