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

<web-app version="2.4" 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/web-app_2_4.xsd">
  
  <servlet>
    <servlet-name>ServletClient</servlet-name>
    <servlet-class>org.jboss.test.ws.jaxrpc.samples.serviceref.ServletClient</servlet-class>
  </servlet>
  
  <servlet-mapping>
    <servlet-name>ServletClient</servlet-name>
    <url-pattern>/*</url-pattern>
  </servlet-mapping>
  
  <service-ref>
    <service-ref-name>service1</service-ref-name>
    <service-interface>javax.xml.rpc.Service</service-interface>
    <wsdl-file>WEB-INF/wsdl/TestEndpoint.wsdl</wsdl-file>
    <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
    <port-component-ref>
      <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint</service-endpoint-interface>
    </port-component-ref>
     <handler>
        <handler-name>Handler</handler-name>
        <handler-class>org.jboss.test.ws.jaxrpc.samples.serviceref.ExampleHandler</handler-class>
        <!--soap-header xmlns:soap-header_ns__="http://extra-header.org">soap-header_ns__:extra-header</soap-header>
        <soap-role>extra-header-actor</soap-role-->
     </handler>
  </service-ref>

  <service-ref>
    <service-ref-name>service2</service-ref-name>
    <service-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpointService</service-interface>
    <wsdl-file>WEB-INF/wsdl/TestEndpoint.wsdl</wsdl-file>
    <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
    <port-component-ref>
      <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint</service-endpoint-interface>
    </port-component-ref>
  </service-ref>
  
</web-app>