This content has been marked as final.
Show 3 replies
-
1. Re: Is JAX-WS only usable with EJB 3 projects?
peterj Feb 12, 2008 10:11 AM (in response to bouchwichman)You can use JAX-WS to create pojo web services. Just remove the @Stateless annotation (and @WebContext annotation, if you have one) from the class declaration.
-
2. Re: Is JAX-WS only usable with EJB 3 projects?
bouchwichman Feb 12, 2008 10:29 AM (in response to bouchwichman)here is my implementation class :
package bsa.ws; import javax.jws.WebMethod; import javax.jws.WebService; @WebService( name="Echo", targetNamespace = "http://ws.bsa", serviceName = "EchoService") public class EchoBean implements IEchoBean { @WebMethod public String echo(){ return "un string"; } }
i followed the tutorial (see the link in the first message). I compiled. And then, when i used the "wsprovide", that error message came. I have no "@Stateless" annotation. -
3. Re: Is JAX-WS only usable with EJB 3 projects?
bouchwichman Feb 12, 2008 10:33 AM (in response to bouchwichman)even without the interface (... implements IEchoBean ) i have the same problem.