【发布时间】:2018-02-19 23:51:03
【问题描述】:
使用 node.js(javascript) 如何访问从 SOAP 数据转换而来的 JSON 数据中的 GetDataResult 节点。
{
"s:Envelope": {
"$": {
"xmlns:s": "http://schemas.xmlsoap.org/soap/envelope/"
},
"s:Body": [{
"GetDataResponse": [{
"$": {
"xmlns": "http://tempuri.org/"
},
"GetDataResult": ["You entered: TEST"]
}]
}]
}
}
【问题讨论】:
-
欢迎来到 Stack Overflow!当您在这里创建帐户时,建议您使用tour 并阅读help center pages 以熟悉该网站。您应该阅读的特定页面包括How Do I Ask a Good Question? 和How to Create a Minimal, Complete, and Verifiable Example。请采取这些介绍性步骤,然后相应地编辑您的帖子。
标签: javascript json soap