Connexion Inscription

Les services › Webservices › Outils de texte (SOAP, façon WCF)

Outils de texte (SOAP, façon WCF) :

SOAP 1.1 Site (démonstration) Définition WSDL lue le 18/11/2026 à 21:38

Démonstration d’un service SOAP comme ceux de WCF (.svc) : définition découpée en plusieurs fichiers, types complexes, liste et énumération.

Point d’accèshttps://koakdesign.info/ws_demo/textes.php
Définitionhttps://koakdesign.info/ws_demo/textes.php?wsdl ↗

Outils de texte de démonstration KoakDesign (façon WCF .svc).

POSTAnalyserTexteCompte les caractères, mots et lignes, et donne les mots les plus fréquents.

SOAPAction : http://koakdesign.info/ws/textes/ITextes/AnalyserTexte

Entrée (AnalyserTexte)

ChampType
textestringfacultatif
nombreMotsintfacultatif

Sortie (AnalyserTexteResponse)

ChampType
AnalyserTexteResultobjetfacultatif
└Caracteresintfacultatif
└Lignesintfacultatif
└Motsintfacultatif
└MotsFrequentsobjetfacultatif
└MotFrequentobjetfacultatif · liste
└Motstringfacultatif
└Nombreintfacultatif
Exemples XML

Requête

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://koakdesign.info/ws/textes">
  <soap:Body>
    <ns0:AnalyserTexte>
      <!-- facultatif -->
      <ns0:texte>?</ns0:texte>
      <!-- facultatif -->
      <ns0:nombreMots>0</ns0:nombreMots>
    </ns0:AnalyserTexte>
  </soap:Body>
</soap:Envelope>

Réponse (forme renvoyée par le serveur)

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://koakdesign.info/ws/textes" xmlns:ns1="http://schemas.datacontract.org/2004/07/KoakDesign.Textes">
  <soap:Body>
    <ns0:AnalyserTexteResponse>
      <!-- facultatif -->
      <ns0:AnalyserTexteResult>
        <!-- facultatif -->
        <ns1:Caracteres>0</ns1:Caracteres>
        <!-- facultatif -->
        <ns1:Lignes>0</ns1:Lignes>
        <!-- facultatif -->
        <ns1:Mots>0</ns1:Mots>
        <!-- facultatif -->
        <ns1:MotsFrequents>
          <!-- facultatif, répétable -->
          <ns1:MotFrequent>
            <!-- facultatif -->
            <ns1:Mot>?</ns1:Mot>
            <!-- facultatif -->
            <ns1:Nombre>0</ns1:Nombre>
          </ns1:MotFrequent>
        </ns1:MotsFrequents>
      </ns0:AnalyserTexteResult>
    </ns0:AnalyserTexteResponse>
  </soap:Body>
</soap:Envelope>

Remplissez les champs puis envoyez : la requête part du site vers https://koakdesign.info/ws_demo/textes.php. Un champ facultatif laissé vide n’est pas envoyé.

XML envoyé (modifiable à la main)
POSTEnChiffresRomainsÉcrit un nombre de 1 à 3999 en chiffres romains.

SOAPAction : http://koakdesign.info/ws/textes/ITextes/EnChiffresRomains

Entrée (EnChiffresRomains)

ChampType
nombreintfacultatif

Sortie (EnChiffresRomainsResponse)

ChampType
EnChiffresRomainsResultstringfacultatif
Exemples XML

Requête

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://koakdesign.info/ws/textes">
  <soap:Body>
    <ns0:EnChiffresRomains>
      <!-- facultatif -->
      <ns0:nombre>0</ns0:nombre>
    </ns0:EnChiffresRomains>
  </soap:Body>
</soap:Envelope>

Réponse (forme renvoyée par le serveur)

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://koakdesign.info/ws/textes">
  <soap:Body>
    <ns0:EnChiffresRomainsResponse>
      <!-- facultatif -->
      <ns0:EnChiffresRomainsResult>?</ns0:EnChiffresRomainsResult>
    </ns0:EnChiffresRomainsResponse>
  </soap:Body>
</soap:Envelope>

Remplissez les champs puis envoyez : la requête part du site vers https://koakdesign.info/ws_demo/textes.php. Un champ facultatif laissé vide n’est pas envoyé.

XML envoyé (modifiable à la main)
POSTConvertirCasseMet un texte en majuscules, minuscules ou en « Titre ».

SOAPAction : http://koakdesign.info/ws/textes/ITextes/ConvertirCasse

Entrée (ConvertirCasse)

ChampType
textestringfacultatif
modeenum: Majuscules|Minuscules|Titrefacultatif

Sortie (ConvertirCasseResponse)

ChampType
ConvertirCasseResultstringfacultatif
Exemples XML

Requête

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://koakdesign.info/ws/textes">
  <soap:Body>
    <ns0:ConvertirCasse>
      <!-- facultatif -->
      <ns0:texte>?</ns0:texte>
      <!-- facultatif -->
      <ns0:mode>Majuscules</ns0:mode>
    </ns0:ConvertirCasse>
  </soap:Body>
</soap:Envelope>

Réponse (forme renvoyée par le serveur)

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://koakdesign.info/ws/textes">
  <soap:Body>
    <ns0:ConvertirCasseResponse>
      <!-- facultatif -->
      <ns0:ConvertirCasseResult>?</ns0:ConvertirCasseResult>
    </ns0:ConvertirCasseResponse>
  </soap:Body>
</soap:Envelope>

Remplissez les champs puis envoyez : la requête part du site vers https://koakdesign.info/ws_demo/textes.php. Un champ facultatif laissé vide n’est pas envoyé.

XML envoyé (modifiable à la main)