0
est ici le Responde xml je reçois:comment puis-je savoir si un nœud exsits ou non
<?xml version="1.0" ?>
- <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns="urn:ws.paymentech.net/PaymentechGateway">
- <SOAP-ENV:Body id="_0">
- <SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>521 Error. The Orbital Gateway has received a badly formatted message. Field [Card Number] exceeded max length of [19]</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
i get comme ceci:
Response.write oXmlHTTP.responseXML.xml
j'ai essayé
if myXML.selectSingleNode("faultcode") Is Nothing then
if not isObject(myXML.selectSingleNode("faultcode")) then
les deux vrai sur 2 cas où le xml a ce noeud et même s'il ne l'a pas
qu'est-ce que je fais mal?
je vais essayer, mais quelle est la différence avec 2 étapes? –
ne fonctionne pas pour moi –