XFTSERVICE
Cliquez ici pour une liste complète des opérations.
Exemple_Get_Catalogue
Test
Pour tester l'opération en utilisant le protocole HTTP POST, cliquez sur le bouton 'Appeler'.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 /AbcXFTWebService.asmx HTTP/1.1
Host: xft.voyagesdegreve.be
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://abctourisme.com/2012/abctourismedossier/ClientServiceContrat/Exemple_Get_Product"
<?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>
<Exemple_Get_Catalogue xmlns="http://abctourisme.com/2012/abctourismedossier" />
</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>
<Exemple_Get_CatalogueResponse xmlns="http://abctourisme.com/2012/abctourismedossier">
<Exemple_Get_CatalogueResult Status="Failure or Partial or Success">
<Request xmlns="http://www.exchangefortravel.org/xft/current" />
</Exemple_Get_CatalogueResult>
</Exemple_Get_CatalogueResponse>
</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 /AbcXFTWebService.asmx HTTP/1.1
Host: xft.voyagesdegreve.be
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>
<Exemple_Get_Catalogue xmlns="http://abctourisme.com/2012/abctourismedossier" />
</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>
<Exemple_Get_CatalogueResponse xmlns="http://abctourisme.com/2012/abctourismedossier">
<Exemple_Get_CatalogueResult Status="Failure or Partial or Success">
<Request xmlns="http://www.exchangefortravel.org/xft/current" />
</Exemple_Get_CatalogueResult>
</Exemple_Get_CatalogueResponse>
</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 /AbcXFTWebService.asmx/Exemple_Get_Catalogue? HTTP/1.1 Host: xft.voyagesdegreve.be
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <TransactionDataResponseType Status="Failure or Partial or Success" xmlns="http://abctourisme.com/2012/abctourismedossier"> <Request xmlns="http://www.exchangefortravel.org/xft/current" /> </TransactionDataResponseType>
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 /AbcXFTWebService.asmx/Exemple_Get_Catalogue HTTP/1.1 Host: xft.voyagesdegreve.be Content-Type: application/x-www-form-urlencoded Content-Length: length
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <TransactionDataResponseType Status="Failure or Partial or Success" xmlns="http://abctourisme.com/2012/abctourismedossier"> <Request xmlns="http://www.exchangefortravel.org/xft/current" /> </TransactionDataResponseType>