[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-899) WebServiceRef injection from DD doesn't work

William DeCoste (JIRA) jira-events at lists.jboss.org
Thu Oct 4 16:45:03 EDT 2007


    [ http://jira.jboss.com/jira/browse/EJBTHREE-899?page=comments#action_12380576 ] 
            
William DeCoste commented on EJBTHREE-899:
------------------------------------------

Several problems here:

1) ServiceRefMetaData does not expose injection-target, so we don't know if and where to inject the service. Injectors are not being created for service-refs with injection-targets that come from xml
2) ServiceRefMetaData does not expose merge capability to combine metadata from ejb-jar.xml and jboss.xml



> WebServiceRef injection from DD doesn't work
> --------------------------------------------
>
>                 Key: EJBTHREE-899
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-899
>             Project: EJB 3.0
>          Issue Type: Bug
>    Affects Versions: AS 4.2.0 GA
>            Reporter: Carlo de Wolf
>         Assigned To: William DeCoste
>             Fix For: Branch_4_2
>
>
> Specifying a service-ref in ejb-jar.xml like this doesn't work.
> <?xml version="1.0" encoding="UTF-8"?>
> <ejb-jar
>         xmlns="http://java.sun.com/xml/ns/javaee"
>         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
>                             http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"
>         version="3.0">
>    <description>jBoss test application </description>
>    <display-name>Test</display-name>
>    <enterprise-beans>
>       <session>
>          <ejb-name>StatelessBean</ejb-name>
>          <service-ref>
> 		    <service-ref-name>service/Endpoint3</service-ref-name>
> 		    <service-interface>org.jboss.ejb3.test.webservices.jsr181.EndpointInterface</service-interface>
> 		    <mapped-name>jbossws-client/service/TestService</mapped-name>
> 		    <injection-target>
>                <injection-target-class>org.jboss.ejb3.test.webservices.jsr181.StatelessBean</injection-target-class>
>                <injection-target-name>endpoint3</injection-target-name>
>             </injection-target>
> 		 </service-ref>
>       </session>
>    </enterprise-beans>
> </ejb-jar>

-- 
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