1
Comment modifier les attributs xmlns de la balise <SOAP-ENV:Envelope />
? J'ai une situation où xmlns:xsi
et xmlns:xsd
manquent. J'aimerais savoir comment les rajouter?Ajouter les attributs xmlns manquants à SOAP-ENV: Balise Envelope à l'aide de SoapClient dans PHP
Exemple:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://fedex.com/ws/track/v12">
<SOAP-ENV:Body>
<ns1:TrackRequest>
...
Mais je besoin être ceci:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://fedex.com/ws/track/v12"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<ns1:TrackRequest>
...