[JBoss JIRA] Created: (CDITCK-60) Use of @WebServiceRef is not portable
by Santiago Pericas-Geertsen (JIRA)
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
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