<?xml version="1.0" encoding="UTF-8"?>

<ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"
  version="2.1">

  <enterprise-beans>
    <session>
      <ejb-name>EJBClient</ejb-name>
      <home>org.jboss.test.ws.jaxrpc.serviceref.EJBRemoteHome</home>
      <remote>org.jboss.test.ws.jaxrpc.serviceref.EJBRemote</remote>
      <ejb-class>org.jboss.test.ws.jaxrpc.serviceref.EJBClient</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>
      
      <service-ref>
        <service-ref-name>service1</service-ref-name>
        <service-interface>javax.xml.rpc.Service</service-interface>
        <wsdl-file>META-INF/wsdl/TestEndpoint.wsdl</wsdl-file>
        <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
        <port-component-ref>
          <service-endpoint-interface>org.jboss.test.ws.jaxrpc.serviceref.TestEndpoint</service-endpoint-interface>
        </port-component-ref>
      </service-ref>
      
      <service-ref>
        <service-ref-name>service2</service-ref-name>
        <service-interface>org.jboss.test.ws.jaxrpc.serviceref.TestEndpointService</service-interface>
        <wsdl-file>META-INF/wsdl/TestEndpoint.wsdl</wsdl-file>
        <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
        <port-component-ref>
          <service-endpoint-interface>org.jboss.test.ws.jaxrpc.serviceref.TestEndpoint</service-endpoint-interface>
        </port-component-ref>
      </service-ref>
      
    </session>
  </enterprise-beans>
  
</ejb-jar>

