[weld-issues] [JBoss JIRA] Commented: (CDITCK-60) Use of @WebServiceRef is not portable

Pete Muir (JIRA) jira-events at lists.jboss.org
Sat Nov 21 13:31:29 EST 2009


    [ https://jira.jboss.org/jira/browse/CDITCK-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12495951#action_12495951 ] 

Pete Muir commented on CDITCK-60:
---------------------------------

Confirmed.

> Use of @WebServiceRef is not portable
> -------------------------------------
>
>                 Key: CDITCK-60
>                 URL: https://jira.jboss.org/jira/browse/CDITCK-60
>             Project: CDI TCK
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Tests
>    Affects Versions: 1.0.0.GA
>         Environment: solaris x86 / JDK 16u6 / GF v3
>            Reporter: Santiago Pericas-Geertsen
>             Fix For: 1.0.1.CR1
>
>
> The tests,
> *.context.application.ejb.ApplicationContextSharedTest.testApplicationContextShared
> *.context.application.ejb.EJBApplicationContextTest.testApplicationScopeActiveDuringCallToEjbTimeoutMethod
> *.context.application.ejb.EJBApplicationContextTest.testApplicationScopeActiveDuringWebServiceInvoation
> use the @WebServiceRef annotation in a non-portable way causing a failure in GF v3. The structure of the test is as follows:
> ----------
> import javax.ejb.Local;
> @javax.ejb.Local
> public interface FeederService
> {
> public void refillFood();
> public boolean adequateFood();
> }
> ------------------------
> @Stateless
> @WebService
> public class BirdFeederService implements FeederService
> {
> ...
> }
> --------------
> @Stateless
> public class CommonKingfisher implements Bird
> {
> @WebServiceRef
> private FeederService birdFeeder;
>  public void eat()
>  {
>     birdFeeder.refillFood();
>  }
> --------------------
> The use of @WebServiceRef is not portable because FeederService is not a JAX-WS SEI.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list