<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="https://editeurs-inscription.cnfpt.fr/ws/detailsession/1.0" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="detailsession" targetNamespace="https://editeurs-inscription.cnfpt.fr/ws/detailsession/1.0">
  <wsdl:documentation>
  Version 1.0 du Service detailsession
  </wsdl:documentation>
  <wsdl:types>
    <xsd:schema targetNamespace="https://editeurs-inscription.cnfpt.fr/ws/detailsession/1.0">   
      <xsd:element name="GetDetailSession">
        <xsd:complexType>
          <xsd:sequence>
			<xsd:sequence>
            	<xsd:element name="code_structure" type="tns:stringcode_structure" maxOccurs="1" minOccurs="1"/>
            	<xsd:element name="code_stage" type="tns:stringcode_stage" maxOccurs="1" minOccurs="1"/>
            	<xsd:element name="code_session" type="tns:stringcode_session" maxOccurs="1" minOccurs="1"/>
            	<xsd:element name="collectivite_siret" type="tns:stringcollectivite_siret" maxOccurs="1" minOccurs="1"/>
            	<xsd:element name="token_authentification" type="tns:stringtoken_authentification" maxOccurs="1" minOccurs="1"/>
          	</xsd:sequence>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="GetDetailSessionResponse">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="code_structure" type="tns:stringcode_structure"/>
            <xsd:element name="code_stage" type="tns:stringcode_stage" />
            <xsd:element name="code_session" type="tns:stringcode_session" />
            <xsd:element name="etat_session" type="tns:stringetat_session" />
            <xsd:element name="date_limite_inscription" type="tns:stringdate_limite_inscription" />
            <xsd:element name="date_debut_session" type="tns:stringdate_debut_session" />
            <xsd:element name="date_fin_session" type="tns:stringdate_fin_session" />
            <xsd:element name="effectif_attendu_cnfpt" type="tns:inteffectif_attendu_cnfpt" />
            <xsd:element name="nbre_inscrit_ct" type="tns:intnbre_inscrit_ct" />
            <xsd:element name="nbre_preinscrit_ct" type="tns:intnbre_preinscrit_ct" />
            <xsd:element name="nbre_inscrit_all_ct" type="tns:intnbre_inscrit_all_ct" />
            <xsd:element name="code_retour_getdetailsession" type="tns:intcode_retour_getdetailsession"/>
            <xsd:element name="detail_des_erreurs_getdetailsession">
              <xsd:complexType>
                <xsd:sequence>
                  <xsd:element name="erreur" maxOccurs="unbounded" minOccurs="0">
                    <xsd:complexType>
                      <xsd:sequence>
                        <xsd:element name="champs">
                          <xsd:complexType>
                            <xsd:sequence>
                              <xsd:element name="champ" type="xsd:string" maxOccurs="unbounded" minOccurs="0"/>
                            </xsd:sequence>
                          </xsd:complexType>
                        </xsd:element>
                      <xsd:element name="description" type="xsd:string" maxOccurs="1" minOccurs="0"/>
                      </xsd:sequence>
                    </xsd:complexType>
                  </xsd:element>
                </xsd:sequence>
              </xsd:complexType>
            </xsd:element>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
      <xsd:simpleType name="stringcode_structure">
        <xsd:restriction base="xsd:string">
          <xsd:minLength value="2"/>
          <xsd:maxLength value="2"/>
        </xsd:restriction>
      </xsd:simpleType>
	    <xsd:simpleType name="stringcode_stage">
        <xsd:restriction base="xsd:string">
          <xsd:minLength value="5"/>
          <xsd:maxLength value="5"/>
        </xsd:restriction>
      </xsd:simpleType>
	    <xsd:simpleType name="stringcode_session">
        <xsd:restriction base="xsd:string">
          <xsd:minLength value="3"/>
          <xsd:maxLength value="3"/>
        </xsd:restriction>
      </xsd:simpleType>
      <xsd:simpleType name="stringetat_session">
        <xsd:restriction base="xsd:string">
          <xsd:minLength value="3"/>
          <xsd:maxLength value="3"/>
        </xsd:restriction>
      </xsd:simpleType>
      <xsd:simpleType name="stringdate_limite_inscription">
        <xsd:restriction base="xsd:string">
          <xsd:minLength value="0"/>
          <xsd:maxLength value="40"/>
        </xsd:restriction>
      </xsd:simpleType>
      <xsd:simpleType name="stringdate_debut_session">
        <xsd:restriction base="xsd:string">
          <xsd:minLength value="0"/>
          <xsd:maxLength value="40"/>
        </xsd:restriction>
      </xsd:simpleType>
      <xsd:simpleType name="stringdate_fin_session">
        <xsd:restriction base="xsd:string">
          <xsd:minLength value="0"/>
          <xsd:maxLength value="40"/>
        </xsd:restriction>
      </xsd:simpleType>
      <xsd:simpleType name="inteffectif_attendu_cnfpt">
        <xsd:restriction base="xsd:int" />
      </xsd:simpleType>
      <xsd:simpleType name="intnbre_inscrit_ct">
        <xsd:restriction base="xsd:int" />
      </xsd:simpleType>
      <xsd:simpleType name="intnbre_preinscrit_ct">
        <xsd:restriction base="xsd:int" />
      </xsd:simpleType>
      <xsd:simpleType name="intnbre_inscrit_all_ct">
        <xsd:restriction base="xsd:int" />
      </xsd:simpleType>
      <xsd:simpleType name="intcode_retour_getdetailsession">
        <xsd:restriction base="xsd:int">
          <xsd:enumeration value="0"/>
          <xsd:enumeration value="1"/>
        </xsd:restriction>
      </xsd:simpleType>
      <xsd:simpleType name="stringcollectivite_siret">
        <xsd:restriction base="xsd:string">
          <xsd:minLength value="14"/>
          <xsd:maxLength value="14"/>
        </xsd:restriction>
      </xsd:simpleType>
	    <xsd:simpleType name="stringtoken_authentification">
        <xsd:restriction base="xsd:string">
          <xsd:maxLength value="32"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:schema>
  </wsdl:types>
  <wsdl:message name="GetDetailSessionRequest">
    <wsdl:documentation>Message d_appel a GetDetailSession</wsdl:documentation>
    <wsdl:part name="parameters" element="tns:GetDetailSession"></wsdl:part>
  </wsdl:message>
  <wsdl:message name="GetDetailSessionResponse">
    <wsdl:documentation>Element de reponse a GetDetailSession</wsdl:documentation>
    <wsdl:part name="parameters" element="tns:GetDetailSessionResponse"></wsdl:part>
  </wsdl:message>
  <wsdl:portType name="detailsession">
    <wsdl:operation name="GetDetailSession">
      <wsdl:input message="tns:GetDetailSessionRequest"></wsdl:input>
      <wsdl:output message="tns:GetDetailSessionResponse"></wsdl:output>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="getdetailsessionSOAP" type="tns:detailsession">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="GetDetailSession">
      <wsdl:documentation>Operation detail session</wsdl:documentation>
      <soap:operation soapAction="https://editeurs-inscription.cnfpt.fr/ws/detailsession/1.0/GetDetailSession"/>
      <wsdl:input>
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="getdetailsession">
    <wsdl:documentation>Service de récupération des details d'une session</wsdl:documentation>
    <wsdl:port binding="tns:getdetailsessionSOAP" name="getdetailsessionSOAP">
      <soap:address location="https://editeurs-inscription.cnfpt.fr/ws/detailsession/1.0"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>