soap response to xml (simple_xml)
- by ntan
Hi 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 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
Whats wrong with : and can not get XML
I hope its clear.
Anyone