C3rb Informatique
Médiathèque de Rodez
Cliquez ici pour une liste complète des opérations.
PaieCarte
Achat de cartes par un adhérentTest
Le formulaire de test est uniquement disponible pour les méthodes avec des types primitifs utilisés comme paramètres.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: mabibli.ville-rodez.fr
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://orphee/wsOpac/PaieCarte"
<?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>
<PaieCarte xmlns="http://orphee/wsOpac/">
<adh>int</adh>
<cles_carte>
<string>string</string>
<string>string</string>
</cles_carte>
<notes>string</notes>
<prix_cents>int</prix_cents>
</PaieCarte>
</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>
<PaieCarteResponse xmlns="http://orphee/wsOpac/">
<PaieCarteResult>string</PaieCarteResult>
</PaieCarteResponse>
</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: mabibli.ville-rodez.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>
<PaieCarte xmlns="http://orphee/wsOpac/">
<adh>int</adh>
<cles_carte>
<string>string</string>
<string>string</string>
</cles_carte>
<notes>string</notes>
<prix_cents>int</prix_cents>
</PaieCarte>
</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>
<PaieCarteResponse xmlns="http://orphee/wsOpac/">
<PaieCarteResult>string</PaieCarteResult>
</PaieCarteResponse>
</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 /Service.asmx/PaieCarte?adh=string&cles_carte=string&cles_carte=string¬es=string&prix_cents=string HTTP/1.1 Host: mabibli.ville-rodez.fr
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://orphee/wsOpac/">string</string>
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 /Service.asmx/PaieCarte HTTP/1.1 Host: mabibli.ville-rodez.fr Content-Type: application/x-www-form-urlencoded Content-Length: length adh=string&cles_carte=string&cles_carte=string¬es=string&prix_cents=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="http://orphee/wsOpac/">string</string>