I am having troubles using EJB with WebServices on JBoss AS 7.
When using an @EJB annotation in a @WebService annotated class, the EJB doesn't get injected and I see the following warnings
WARN [org.jboss.wsf.stack.cxf.resolver.JBossWSResourceResolver] (MSC service thread 1-2) Cannot resolve resource: cxf
Also, it seems that I cannot use both @Stateless and @WebService on the same class...
Should these 2 scenarios work ?
The @EJB injection is being worked these days.
EJB3 WS endpoints (EJB3 beans @Stateless annotated with @WebService too) are already supported instead.
Retrieving data ...