-
Bug
-
Resolution: Done
-
Major
-
None
Reproduce:
1- deliver the linked jaxws webapp on EAP6.3
2- add the CDIHandler using the the CLI (eg.) or running the given standalone.xml
$ cd /subsystem=webservices/endpoint-config=Standard-Endpoint-Config/
$ /pre-handler-chain=C1:add
$ /pre-handler-chain=C1/handler=H1:add(class="org.jboss.as.quickstarts.wshelloworld.CDIHandler")
$ :reload
3- Invoke
- HelloWorldService.sayHello()
I expect:
A- the CDIBean to be injected
B- the server replying correctly
Instead
B- the injection doesn't happen and the handler raises an exception
Running the Handler via the @HandlerChain annotation (using the provided HandlerServiceImpl) and removing the handlerchain from jboss everything works fine.
Debugging I found that those handlers are created via ConfigHelper.setupConfigHandlers which does a clazz.newInstance(). Probably this doesn't go through the CDI chain...
- is blocked by
-
JBWS-3846 Refactor creation process of jaxws handlers from predefined configurations
- Closed