JBoss Community

WebServices and EJB on AS 7

created by Alex Beaupre in JBoss Web Services - View the full discussion

Hi all,

 

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 ?

 

 

Thanks!

Alex

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community