JBoss Community

Re: CDI @Inject in a JAX-WS service impl?

created by Paul Robinson in JBoss Web Services - View the full discussion

Thanks Alessio,

 

Yes it does work. I was doing something stupid. When I converted from  an EJB jar archive to a JAX-WS war archive, I forgot to move the beans.xml from META-INF to WEB-INF :( .

 

Off the top of your head, should I be able to use CDI interceptors on @WebMethod annotated methods? I have that working on EJBs exposed as JAX-WS services, but not for plain JAX-WS services deployed in a war. Again, it's probably something silly I've done when converting my service. But if you know of any issues, off the top of your head, then it might save me some time.

 

Paul.

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community