首页 > 解决方案 > VB 数据集的 PHP 等价物是什么?

问题描述

我正在使用一个在 VB 中提供其示例的 API。它需要在 XML 中传递数据集。

XML 示例如下所示:

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetItemsSResponse xmlns="http://ws.example.com">
      <GetItemSResult>
        <xsd:schema>schema</xsd:schema>xml
      </GetItemResult>
    </GetItemsSResponse>
  </soap:Body>
</soap:Envelope>

他们关于如何提交数据集的示例是:

      Item List
      ("ItemID") = "abcde"          *
      ("ItemID") = "fghig"
      ("ItemID") = "klmno" 
      ("ItemID") = "pgrst"

我尝试以 Json 提交,但错误意味着数据格式有问题。

有任何想法吗?

标签: phpxmlvb.netdataset

解决方案


推荐阅读