Equipes


Cliquez ici pour une liste complète des opérations.

GetCompetitions

Renvoie Toutes les Compétitions [integer Saison (0 pour saison en cours)].

Test

Pour tester l'opération en utilisant le protocole HTTP POST, cliquez sur le bouton 'Appeler'.
Paramètre Valeur
Saison:

SOAP 1.1

Le texte suivant est un exemple de demande et de réponse SOAP 1.1. Les espaces réservés affichés doivent être remplacés par des valeurs réelles.

POST /Equipes.asmx HTTP/1.1
Host: service.echecs.asso.fr
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetCompetitions"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetCompetitions xmlns="http://tempuri.org/">
      <Saison>int</Saison>
    </GetCompetitions>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetCompetitionsResponse xmlns="http://tempuri.org/">
      <GetCompetitionsResult>
        <xsd:schema>schema</xsd:schema>xml</GetCompetitionsResult>
    </GetCompetitionsResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

Le texte suivant est un exemple de demande et de réponse SOAP 1.2. Les espaces réservés affichés doivent être remplacés par des valeurs réelles.

POST /Equipes.asmx HTTP/1.1
Host: service.echecs.asso.fr
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetCompetitions xmlns="http://tempuri.org/">
      <Saison>int</Saison>
    </GetCompetitions>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetCompetitionsResponse xmlns="http://tempuri.org/">
      <GetCompetitionsResult>
        <xsd:schema>schema</xsd:schema>xml</GetCompetitionsResult>
    </GetCompetitionsResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

Le texte suivant est un exemple de demande et de réponse HTTP GET. Les espaces réservés affichés doivent être remplacés par des valeurs réelles.

GET /Equipes.asmx/GetCompetitions?Saison=string HTTP/1.1
Host: service.echecs.asso.fr
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<DataSet xmlns="http://tempuri.org/">
  <schema xmlns="http://www.w3.org/2001/XMLSchema">schema</schema>xml</DataSet>

HTTP POST

Le texte suivant est un exemple de demande et de réponse HTTP POST. Les espaces réservés affichés doivent être remplacés par des valeurs réelles.

POST /Equipes.asmx/GetCompetitions HTTP/1.1
Host: service.echecs.asso.fr
Content-Type: application/x-www-form-urlencoded
Content-Length: length

Saison=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<DataSet xmlns="http://tempuri.org/">
  <schema xmlns="http://www.w3.org/2001/XMLSchema">schema</schema>xml</DataSet>