Good day.
I am having trouble being able to use the simplexml_load_string function on my xml response. The object is returned as empty.
Any clue?
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns2:signOnResponse xmlns:ns2="http://www.verimatrix.com/omi">
<sessionHandle>
<ns1:handle xmlns:ns1="http://www.verimatrix.com/schemas/OMItypes.xsd">gVwAFRVlyqRKgqk/u73Ifc3nGig=</ns1:handle>
</sessionHandle>
<result>
<ns1:resultId xmlns:ns1="http://www.verimatrix.com/schemas/OMItypes.xsd">admin</ns1:resultId>
<ns1:resultCode xmlns:ns1="http://www.verimatrix.com/schemas/OMItypes.xsd">0</ns1:resultCode>
<ns1:resultText xmlns:ns1="http://www.verimatrix.com/schemas/OMItypes.xsd">Success</ns1:resultText>
</result>
</ns2:signOnResponse>
</soapenv:Body>
</soapenv:Envelope>
Ultimately, I would like to parse the object to get the session handle info from ns1:handle