[jboss-jira] [JBoss JIRA] (WFLY-4487) Unable to inject Web Service Context into CDI Interceptor

Mustafa Musaji (JIRA) issues at jboss.org
Mon Apr 13 04:48:19 EDT 2015


    [ https://issues.jboss.org/browse/WFLY-4487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056320#comment-13056320 ] 

Mustafa Musaji edited comment on WFLY-4487 at 4/13/15 4:47 AM:
---------------------------------------------------------------

Added reproducer

1) Deploy to JBoss EAP
2) Using a Web Service Tester (SOAPUI) send request to http://localhost:8080/jboss-cdi-interceptors/SimpleWS?wsdl

{code:xml}
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://webservice.quickstarts.as.jboss.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <web:echo>
         <arg0>echoThis</arg0>
      </web:echo>
   </soapenv:Body>
</soapenv:Envelope>
{code}
3) Request fails


was (Author: mmusaji):
Added reproducer

> Unable to inject Web Service Context into CDI Interceptor
> ---------------------------------------------------------
>
>                 Key: WFLY-4487
>                 URL: https://issues.jboss.org/browse/WFLY-4487
>             Project: WildFly
>          Issue Type: Bug
>          Components: CDI / Weld
>    Affects Versions: 9.0.0.Alpha1
>            Reporter: Mustafa Musaji
>            Assignee: Stuart Douglas
>             Fix For: 9.0.0.Beta1
>
>         Attachments: cdi-interceptors.zip
>
>
> CDI Interceptor cannot inject Web Service context.
> When trying to inject WebServiceContext in CDI Interceptor using @Resource annotation but it fails with: NameNotFoundException: env/org.example.MyInterceptor/webServiceContext



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list