[jboss-jira] [JBoss JIRA] Resolved: (EJBTHREE-760) @WebServiceRef not bound to java:comp/env
Carlo de Wolf (JIRA)
jira-events at lists.jboss.org
Mon Feb 8 03:54:19 EST 2010
[ https://jira.jboss.org/jira/browse/EJBTHREE-760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carlo de Wolf resolved EJBTHREE-760.
------------------------------------
Resolution: Out of Date
> @WebServiceRef not bound to java:comp/env
> -----------------------------------------
>
> Key: EJBTHREE-760
> URL: https://jira.jboss.org/jira/browse/EJBTHREE-760
> Project: EJB 3.0
> Issue Type: Bug
> Reporter: Thomas Diesler
> Assignee: Carlo de Wolf
>
> package org.jboss.test.ws.jaxws.webserviceref;
> @WebServiceRef(name = "service1", value = TestEndpointService.class, wsdlLocation = "META-INF/wsdl/TestEndpoint.wsdl")
> @WebServiceRefs( {
> @WebServiceRef(name = "service2", value = TestEndpointService.class, wsdlLocation = "META-INF/wsdl/TestEndpoint.wsdl"),
> @WebServiceRef(name = "port1", value = TestEndpointService.class, type = TestEndpoint.class, wsdlLocation = "META-INF/wsdl/TestEndpoint.wsdl") })
> public class ApplicationClient
> When the client is deployed, I see the first reference beeing bound to jbossws-client/env/service1
> However,
> ports.add(((TestEndpointService)encCtx.lookup("java:comp/env/service1")).getTestEndpointPort());
> fails with javax.naming.NameNotFoundException: service1 not bound
> To reproduce run this against jbossas/branches/JEE5_TCK
> /home/tdiesler/svn/jbossws/trunk/src/test
> [tdiesler at tddell test]$ ant -Dtest=jaxws/webserviceref test
--
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 jboss-jira
mailing list