<?xml version="1.0"?>
<!-- partie 1 : Definitions -->
<definitions name="promo"
             targetNamespace="https://ws-xft2.thalasso-to.com:443/xftWebservice?wsdl"
             xmlns:ns1="https://ws-xft2.thalasso-to.com:443/xftWebservice?wsdl"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
             xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
             xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/">

    <!-- partie 2 : Types-->
    <types>
        <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
                    targetNamespace="https://ws-xft2.thalasso-to.com:443/xftWebservice?wsdl"
        > </xsd:schema>
    </types>


    <!-- partie 3 : Message -->
    <message name="processRequestRequest">
        <part name="XftService" type="xsd:string"/>
    </message>
    <message name="processRequestResponse">
        <part name="xRequestReturn" type="xsd:string"/>
    </message>

    <!-- partie 4 : Port Type -->
    <portType name="processRequestPort">
        <!-- partie 5 : Operation -->
        <operation name="xRequest">
            <input message="ns1:processRequestRequest"/>
            <output message="ns1:processRequestResponse"/>
        </operation>
    </portType>

    <!-- partie 6 : Binding -->
    <binding name="processRequestBinding" type="ns1:processRequestPort">
        <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="xRequest">
            <soap:operation soapAction="xRequest"/>
            <input name="processRequestRequest">
                <soap:body use="encoded"
                           namespace="https://ws-xft2.thalasso-to.com:443/xftWebservice?wsdl"
                           encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
            </input>
            <output name="processRequestResponse">
                <soap:body use="encoded"
                           namespace="https://ws-xft2.thalasso-to.com:443/xftWebservice?wsdl"
                           encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
            </output>
        </operation>
    </binding>

    <!-- partie 7 : Service -->
    <service name="processRequestService">
        <documentation>Retourne une phrase simple </documentation>
        <!-- partie 8 : Port -->
        <port name="processRequestPort" binding="ns1:processRequestBinding">
            <soap:address location="https://ws-xft2.thalasso-to.com:443/xftWebservice"/>
        </port>
    </service>
</definitions>
