on 2020 Jul 15 12:18 PM
I am trying to retrieve the value of Client Element which is a row in array returned as XML SOAP.
I use the following call, but don't know why I dont get any result (and no any error too).
select * from openxml('
<soap-env:envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
<soap-env:body>
<ns1:getdetailresponse xmlns:ns1="urn:tempuri:Ver1">
<ns1:result xsi:nil="true"/>
<mydataset xmlns="urn:tempuri:Ver1">
<![CDATA[<?xml version="1.0"?>
<dsclients xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ttclient>
<client>200403</client>
</ttclient>
</dsclients>]]>
</mydataset>
</ns1:getdetailresponse>
</soap-env:body>
</soap-env:envelope>',
'//*:Body/*:GetDetailResponse/*:MyDataset/*:DsClients/ttClient') with (CusotmerID varchar (100) 'Client');
Can anyone help please?
Request clarification before answering.
User | Count |
---|---|
96 | |
11 | |
9 | |
9 | |
7 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.