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.
Paul.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/717661#717661]
Start a new discussion in JBoss Web Services at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]