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/718014#718014
--------------------------------------------------------------
Richard,
I've also been talking to Ales on IRC about this issue. He asked for a failing
Arquillian test in the Weld suite. I'm including it here as it may explain better,
what I'm trying to get working:
https://github.com/paulrobinson/core/blob/JAXWS_POJO_with_CDI_interceptor...
https://github.com/paulrobinson/core/blob/JAXWS_POJO_with_CDI_interceptor...
You can run the test by:
Boot AS7.1.0.Final
git clone git@github.com:paulrobinson/core.git
cd core
git checkout JAXWS_POJO_with_CDI_interceptor
cd tests-arquillian/
mvn install -Pincontainer-remote
-Dtest=org.jboss.weld.tests.interceptors.jaxws.InterceptorTest
Observe that the test fails with message:
junit.framework.AssertionFailedError: Interceptor not invoked
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/718014#718014]
Start a new discussion in JBoss Web Services at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]