【发布时间】:2015-06-02 22:45:54
【问题描述】:
我有一个来自网络服务的结果,但无法获取值。
string result = responseReader.ReadToEnd();
ResultXML = XDocument.Parse(result);
和ResultXML 看起来像
<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>
<FaxResponse xmlns="http://abc.xyz/">
<FaxResult>5421266115</FaxResult>
</FaxResponse>
</soap:Body>
</soap:Envelope>
我需要FaxResult,我该如何阅读?
【问题讨论】: