[weld-issues] [JBoss JIRA] Closed: (CDITCK-60) Use of @WebServiceRef is not portable
Pete Muir (JIRA)
jira-events at lists.jboss.org
Thu Jan 21 14:34:19 EST 2010
[ https://jira.jboss.org/jira/browse/CDITCK-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pete Muir closed CDITCK-60.
---------------------------
> 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
> Assignee: David Allen
> Fix For: 1.0.1.CR1, 1.1.0.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