Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-1841

WebServiceRef injection from DD doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jbossws-native-2.0.3
    • jbossws-2.0.1
    • None
    • None

      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>

              rhn-support-hbraun Heiko Braun
              rhn-engineering-cdewolf Carlo de Wolf
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: