【发布时间】:2016-08-11 20:01:22
【问题描述】:
我需要在 SQL Server 中解析一个 SOAP xml 并将其转换为表
<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>
<ExecCommandResponse xmlns="http://tempuri.org/">
<ExecCommandResult>
<Result xmlns="">
<row>
<LOT>VERL5B3002PL</LOT>
<ID>115</ID>
<WH>710</WH>
<STPL>12</STPL>
</row>
<row>
<LOT>VERL68804EVN</LOT>
<ID>3716</ID>
<WH>771</WH>
<STPL>6</STPL>
</row>
</Result>
</ExecCommandResult>
</ExecCommandResponse>
</soap:Body>
</soap:Envelope>
我需要在 sql server 中解析一个 SOAP xml 并将其转换为表格
LOT | ID | WH | STPL
VERL68804EVN | 3716 | 771 | 6
【问题讨论】:
-
哪个版本的sql-server?
-
@har07,这两个链接都不涵盖可能相当痛苦的命名空间......
标签: sql sql-server xml web-services soap