WS_CUSTOMER_APP


Fare clic qui per ottenere l'elenco completo delle operazioni.

gettoken

Test

Il form di test è disponibile solo per le richieste dal computer locale.

SOAP 1.1

Di seguito è riportato un esempio di richiesta e risposta SOAP 1.1. I segnaposto devono essere sostituiti con i valori appropriati.

POST /test/WS_CUSTOMER_APP.asmx HTTP/1.1
Host: gac-trasporti.it
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/gettoken"

<?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:Header>
    <SecuredToken xmlns="http://tempuri.org/">
      <Username>string</Username>
      <Password>string</Password>
      <AuthenticationToken>string</AuthenticationToken>
    </SecuredToken>
  </soap:Header>
  <soap:Body>
    <gettoken xmlns="http://tempuri.org/">
      <application_name>string</application_name>
      <app_id>string</app_id>
      <user>string</user>
      <password>string</password>
    </gettoken>
  </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>
    <gettokenResponse xmlns="http://tempuri.org/">
      <gettokenResult>string</gettokenResult>
    </gettokenResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

Di seguito è riportato un esempio di richiesta e risposta SOAP 1.2. I segnaposto devono essere sostituiti con i valori appropriati.

POST /test/WS_CUSTOMER_APP.asmx HTTP/1.1
Host: gac-trasporti.it
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:Header>
    <SecuredToken xmlns="http://tempuri.org/">
      <Username>string</Username>
      <Password>string</Password>
      <AuthenticationToken>string</AuthenticationToken>
    </SecuredToken>
  </soap12:Header>
  <soap12:Body>
    <gettoken xmlns="http://tempuri.org/">
      <application_name>string</application_name>
      <app_id>string</app_id>
      <user>string</user>
      <password>string</password>
    </gettoken>
  </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>
    <gettokenResponse xmlns="http://tempuri.org/">
      <gettokenResult>string</gettokenResult>
    </gettokenResponse>
  </soap12:Body>
</soap12:Envelope>