[jboss-user] [JBoss Web Services] - Re: CDI @Inject in a JAX-WS service impl?

Paul Robinson do-not-reply at jboss.com
Sat Feb 18 05:27:33 EST 2012

Paul Robinson [https://community.jboss.org/people/paul.robinson] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/717661#717661

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.


Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120218/1109dbe6/attachment.html 

More information about the jboss-user mailing list