How to read soap response in c#?
<p>Soap Respose as:</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;LoginResponse xmlns="http://example.com/SystemIntegration"&gt;
            &lt;FirstName&gt;@FirstName&lt;/FirstName&gt;
            &lt;LastName&gt;@LastName&lt;/LastName&gt;
        &lt;/LoginResponse&gt;
    &lt;/soap:Body&gt;
 &lt;/soap:Envelope&gt;
</code></pre>

<p>I'm trying to read it as:</p>

<pre><code>XDocument doc = XDocument.Parse(strReturnStatus);
List&lt;XElement&gt; result = doc.Elements("LoginResponse").ToList();
for (int intc = 0; intc &lt;= result.Count - 1; intc++)
{
    strResponseCode = result[intc].Element("FirstName").Value.ToString();
    strResponseText = result[intc].Element("LastName").Value.ToString();
}
</code></pre>

<p>But it returning <code>null</code> result.</p>

<p>How to read above respose in <code>asp.net c#</code>??</p>