Re: Non-EJB @WebService?

2013-02-24 Thread Romain Manni-Bucau
you can either use glassfish descriptor (don't recall exact details but did it several times before next option was available) or openejb-jar.xml ( http://svn.apache.org/repos/asf/tomee/tomee/trunk/examples/change-jaxws-url/src/main/resources/META-INF/openejb-jar.xml ) for pojo webservices it is

Non-EJB @WebService?

2013-02-23 Thread James Green
If I deploy my test app into TomEE with a class annotated @WebService but without any EJB annotations, I get a crash from OpenEJB. I've seen many examples of web services not needing to be EJBs. Is this therefore a requirement of TomEE? Glassfish seems happy without needing @Stateless for

Re: Non-EJB @WebService?

2013-02-23 Thread Romain Manni-Bucau
No but youll need to declare them in web.xml as a servlet Le 23 févr. 2013 23:35, James Green james.mk.gr...@gmail.com a écrit : If I deploy my test app into TomEE with a class annotated @WebService but without any EJB annotations, I get a crash from OpenEJB. I've seen many examples of web