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

<web-app version="2.5" 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/web-app_2_5.xsd">
  
  <servlet>
    <servlet-name>ServletClient</servlet-name>
    <servlet-class>org.jboss.test.ws.jaxws.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.ws.Service</service-interface>
    <wsdl-file>WEB-INF/wsdl/Endpoint.wsdl</wsdl-file>
    <service-qname xmlns:ns1="http://serviceref.samples.jaxws.ws.test.jboss.org/">ns1:EndpointService</service-qname>
  </service-ref>

  <service-ref>    
    <service-ref-name>service2</service-ref-name>
    <service-interface>org.jboss.test.ws.jaxws.samples.serviceref.EndpointService</service-interface>
    <wsdl-file>WEB-INF/wsdl/Endpoint.wsdl</wsdl-file>
    <service-qname xmlns:ns1="http://serviceref.samples.jaxws.ws.test.jboss.org/">ns1:EndpointService</service-qname>
     <port-component-ref>
        <service-endpoint-interface>org.jboss.test.ws.jaxws.samples.serviceref.Endpoint</service-endpoint-interface>
        <enable-mtom>true</enable-mtom>
     </port-component-ref>
  </service-ref>

  <service-ref>
    <service-ref-name>service3</service-ref-name>
    <service-interface>javax.xml.ws.Service</service-interface>
    <wsdl-file>WEB-INF/wsdl/Endpoint.wsdl</wsdl-file>
    <service-qname xmlns:ns1="http://serviceref.samples.jaxws.ws.test.jboss.org/">ns1:EndpointService</service-qname>
     <port-component-ref>
        <service-endpoint-interface>org.jboss.test.ws.jaxws.samples.serviceref.Endpoint</service-endpoint-interface>
        <enable-mtom>true</enable-mtom>
     </port-component-ref>
  </service-ref>
  
</web-app>