[jboss-user] [JBoss Web Services] - WebServices and EJB on AS 7

Alex Beaupre do-not-reply at jboss.com
Fri Aug 5 12:00:11 EDT 2011


Alex Beaupre [http://community.jboss.org/people/beaupral] created the discussion

"WebServices and EJB on AS 7"

To view the discussion, visit: http://community.jboss.org/message/619692#619692

--------------------------------------------------------------
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
[http://community.jboss.org/message/619692#619692]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110805/f555ea5a/attachment.html 


More information about the jboss-user mailing list