Bonjour,
Je suis tout à fait novice en SOAP. Je voudrais transformer un compte bancaire belge au format IBAN. Pour se faire il existe un service web http://www.ibanbic.be/IBANBIC.asmx
Visiblement il faut générer la requête suivante (http://www.ibanbic.be/IBANBIC.asmx?op=BBANtoIBAN):
Est-ce qu'il est possible de générer cette requête en php avec SoapClient? et si oui comment?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 POST /IBANBIC.asmx HTTP/1.1 Host: www.ibanbic.be Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/BBANtoIBAN" <?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> <BBANtoIBAN xmlns="http://tempuri.org/"> <Value>string</Value> </BBANtoIBAN> </soap:Body> </soap:Envelope>
Merci d'avance,
alain
Partager