title: Using C# and XDocument/XElement to parse a Soap Response
body: <p>Here is a sample soap response from my SuperDuperService:</p>
  
  <pre><code>&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;MyResponse xmlns="http://mycrazyservice.com/SuperDuperService"&gt;
              &lt;Result&gt;32347&lt;/Result&gt; 
          &lt;/MyResponse&gt;
      &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt;
  </code></pre>
  
  <p>For some reason when I try to grab the Descendant or Element of "Result" I get null.  Does it have something to do with the Namespace?  Can someone provide a solution to retrieve Result from this?</p>