[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-760) @WebServiceRef not bound to java:comp/env

Thomas Diesler (JIRA) jira-events at jboss.com
Wed Oct 25 09:11:41 EDT 2006


    [ http://jira.jboss.com/jira/browse/EJBTHREE-760?page=comments#action_12345781 ] 
            
Thomas Diesler commented on EJBTHREE-760:
-----------------------------------------

/home/tdiesler/svn/jbossws/trunk/src/test
[tdiesler at tddell test]$ ant -Dtest=org.jboss.test.ws.jaxws.webserviceref.WebServiceRefClientTestCase one-test

one-test:
    [junit] Running org.jboss.test.ws.jaxws.webserviceref.WebServiceRefClientTestCase
    [junit] FIXME: EJBTHREE-760
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 6.952 sec


> @WebServiceRef not bound to java:comp/env
> -----------------------------------------
>
>                 Key: EJBTHREE-760
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-760
>             Project: EJB 3.0
>          Issue Type: Bug
>            Reporter: Thomas Diesler
>         Assigned To: 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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list