I am trying to convert a SOAP response to XML.
SOAP has an envelop and a body
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
When I try to convert
$responseXML = simplexml_load_string($string);
I get
object(SimpleXMLElement)#20 (0) { }
If I edit the $string
as soap:Envelope
and soap:Body
I can get the XML.
What's wrong with :
? Can not get XML.
I hope it's clear. Anyone?