title: How to parse soap xml response in php and get the information from the string
body: <p>i have some problem extracting the information from a SOAP response.
  This is hte response I get:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt; 
  - &lt;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"&gt;
  - &lt;soap:Body&gt;
  - &lt;GetInfoFromSendingResponse xmlns="http://test.test.com/"&gt;
    &lt;GetInfoFromSendingResult&gt;{"SendingID":"2468","Subject":"Test","ID":"2468","CampaignID":"890","ForwardAddress":"test@test.ro","SendingTime":"1/14/2016 8:00:00 AM","SendLeadsToEmail":"0","LanguageID":"6","LeadsTestMode":true,"WebversionLink":"","Language":"FR"}&lt;/GetInfoFromSendingResult&gt; 
    &lt;/GetInfoFromSendingResponse&gt;
    &lt;/soap:Body&gt;
    &lt;/soap:Envelope&gt;
  </code></pre>
  
  <p>I need the information from <code>GetInfoFromSendingResult</code> and store that in a variable so I can then use that information. </p>
  
  <p>Example: Change the language of a form based on the <code>"Language"</code> info provided in the SOAP response. Any help is appreciated.</p>