You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Xavier Dury (JIRA)" <ji...@apache.org> on 2014/05/11 00:16:33 UTC

[jira] [Commented] (OPENEJB-2088) Allow injection of (SOAP)Handlers

    [ https://issues.apache.org/jira/browse/OPENEJB-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13993516#comment-13993516 ] 

Xavier Dury commented on OPENEJB-2088:
--------------------------------------

It seems that injecting mocks into (SOAP)Handlers is not working.

If I @Mock a service in my test using @MockInjector/MockitoInjector and @Inject that service in both my WebService and my SOAPHandler, it will be null in the Handler but not in the WebService.

> Allow injection of (SOAP)Handlers
> ---------------------------------
>
>                 Key: OPENEJB-2088
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-2088
>             Project: OpenEJB
>          Issue Type: Improvement
>          Components: webservices
>    Affects Versions: 4.6.0
>            Reporter: Xavier Dury
>            Assignee: Romain Manni-Bucau
>             Fix For: 4.6.1
>
>         Attachments: OPENEJB-2088.patch
>
>
> CDI/EJB injection should work on javax.xml.ws.handler.Handler and javax.xml.ws.handler.soap.SOAPHandler.



--
This message was sent by Atlassian JIRA
(v6.2#6252)