Haumarsrv


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

TryAuthenticateUser

Fonction d'authentification de l'utilisateur dans l'AD

Test

Le formulaire de test est uniquement disponible pour les demandes de l'ordinateur local.

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 /service.asmx HTTP/1.1
Host: haumarwebsrv.grandest.fr
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "RegionAlsace.Haumar.WebService/TryAuthenticateUser"

<?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>
    <TryAuthenticateUser xmlns="RegionAlsace.Haumar.WebService">
      <sLoginUser>string</sLoginUser>
      <s_Domaine>string</s_Domaine>
    </TryAuthenticateUser>
  </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>
    <TryAuthenticateUserResponse xmlns="RegionAlsace.Haumar.WebService">
      <TryAuthenticateUserResult>boolean</TryAuthenticateUserResult>
    </TryAuthenticateUserResponse>
  </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 /service.asmx HTTP/1.1
Host: haumarwebsrv.grandest.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>
    <TryAuthenticateUser xmlns="RegionAlsace.Haumar.WebService">
      <sLoginUser>string</sLoginUser>
      <s_Domaine>string</s_Domaine>
    </TryAuthenticateUser>
  </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>
    <TryAuthenticateUserResponse xmlns="RegionAlsace.Haumar.WebService">
      <TryAuthenticateUserResult>boolean</TryAuthenticateUserResult>
    </TryAuthenticateUserResponse>
  </soap12:Body>
</soap12:Envelope>