を解析するためにC#とXDocument/XElementのが私のSuperDuperServiceからサンプル石鹸応答される使用:私は「結果」の末裔または要素をつかむしようとすると、ここでSOAP応答
<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>
<MyResponse xmlns="http://mycrazyservice.com/SuperDuperService">
<Result>32347</Result>
</MyResponse>
</soap:Body>
</soap:Envelope>
何らかの理由で、私はnullを取得。それは名前空間と関係がありますか?誰かがこれから結果を取得するためのソリューションを提供できますか?
何らかの理由で上記の例のlist.Count()メソッドが私のために存在しないのですか?現在のVS2010 .net 4を使用しています。 –