EVOGPS-WebServices-Public
Fare clic qui per ottenere l'elenco completo delle operazioni.
TOKEN_GET
Test
Per eseguire il test dell'operazione utilizzando il protocollo HTTP POST, fare clic sul pulsante Richiama.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 /ws.asmx HTTP/1.1
Host: test.ws-public.evocloud.it
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "EVOGPS-WebServices-Public/TOKEN_GET"
<?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>
<TOKEN_GET xmlns="EVOGPS-WebServices-Public">
<cliente>string</cliente>
<username>string</username>
<password>string</password>
</TOKEN_GET>
</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>
<TOKEN_GETResponse xmlns="EVOGPS-WebServices-Public">
<TOKEN_GETResult>string</TOKEN_GETResult>
</TOKEN_GETResponse>
</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 /ws.asmx HTTP/1.1
Host: test.ws-public.evocloud.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:Body>
<TOKEN_GET xmlns="EVOGPS-WebServices-Public">
<cliente>string</cliente>
<username>string</username>
<password>string</password>
</TOKEN_GET>
</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>
<TOKEN_GETResponse xmlns="EVOGPS-WebServices-Public">
<TOKEN_GETResult>string</TOKEN_GETResult>
</TOKEN_GETResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
Di seguito è riportato un esempio di richiesta e risposta HTTP GET. I segnaposto devono essere sostituiti con i valori appropriati.
GET /ws.asmx/TOKEN_GET?cliente=string&username=string&password=string HTTP/1.1 Host: test.ws-public.evocloud.it
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="EVOGPS-WebServices-Public">string</string>
HTTP POST
Di seguito è riportato un esempio di richiesta e risposta HTTP POST. I segnaposto devono essere sostituiti con i valori appropriati.
POST /ws.asmx/TOKEN_GET HTTP/1.1 Host: test.ws-public.evocloud.it Content-Type: application/x-www-form-urlencoded Content-Length: length cliente=string&username=string&password=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="EVOGPS-WebServices-Public">string</string>