CDI and JAX-WS @Resource
Hi all !
In a JAX-WS SE class i have a field in wich i inject a @Resource to finally get the client's ip address. All is ok until I make this SE a CDI managed bean:
private ADelegated delegated;
...
}
I deploy this app in a WebLogic 12c and I get this error:
java.lang.IllegalArgumentException: Can not set javax.xml.ws.WebServiceContext field AImpl.wsContext to weblogic.jndi.internal.WLEventContextImpl
What is incorrect in my code?
Thanks in advance for your help
0