[jboss-jira] [JBoss JIRA] Created: (AS7-1323) @Resource injection on WebServiceContext fails

Abhijit Sarkar (JIRA) jira-events at lists.jboss.org
Mon Jul 18 21:44:23 EDT 2011


@Resource injection on WebServiceContext fails
----------------------------------------------

                 Key: AS7-1323
                 URL: https://issues.jboss.org/browse/AS7-1323
             Project: Application Server 7
          Issue Type: Bug
          Components: Web Services
    Affects Versions: 7.0.0.Final
         Environment: Ubuntu 11.04 64 bit, Sun Java 1.6.0_26, JBoss AS 7.0.0.Final
            Reporter: Abhijit Sarkar
            Assignee: Alessio Soldano


00:20:55,004 WARN  [org.jboss.as.ee.component.ResourceInjectionAnnotationParsingProcessor] (MSC service thread 1-4) Can't handle @Resource for ENC name: MovieServiceRestful/wsCtx on class MovieServiceRestful since it's missing a "lookup" (or "mappedName") value and isn't of any known type.

@WebServiceProvider
@BindingType(value = HTTPBinding.HTTP_BINDING)
public class MovieServiceRestful implements Provider<Source> {

    @Resource
    protected WebServiceContext wsCtx;

    ...
}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list