如何使用名称空间解析soap响应节点元素 [英] how to parse soap response node elements using namespace
本文介绍了如何使用名称空间解析soap响应节点元素的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的肥皂反应如下:
my soap response looks like:
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://
www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<GeteBayOfficialTimeResponse xmlns="urn:ebay:apis:eBLBaseComponents">
<Timestamp>2005-05-02T00:07:22.895Z</Timestamp>
<Ack>Success</Ack>
<CorrelationID>
00000000-00000000-00000000-00000000-00000000-00000000-0000000000
</CorrelationID>
<Version>405</Version>
<Build>20050422132524</Build>
</GeteBayOfficialTimeResponse>
</soapenv:Body>
</soapenv:Envelope>
推荐答案
请参见MSDN中对类似问题的答复;
http://social.msdn.microsoft.com/Forums/zh/biztalkgeneral/thread/a1209ea9-e3af-4fae-81a9-9dfb62857b47 [
See this response in MSDN to a similiar question;
http://social.msdn.microsoft.com/Forums/en/biztalkgeneral/thread/a1209ea9-e3af-4fae-81a9-9dfb62857b47[^]
这篇关于如何使用名称空间解析soap响应节点元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文