Topic
  • 1 reply
  • Latest Post - ‏2014-04-03T05:19:01Z by SudarshanRao
montapas
montapas
5 Posts

Pinned topic How to Parse Web request Response in DXL?

‏2014-03-28T04:24:46Z |

Dear All,

I am calling WCF from DXL. It is working well. But the problem is that I can not parse the respose. I am getting the response text by following

string sResult = ""

oleGet(xmlhttp, "responseText",sResult )

The Response Text looks like:

---------------------------------------------------------------------------------------------------

--uuid:83a922d5-df47-4e6a-87e5-793ceaa7f968+id=1
Content-ID: <http://tempuri.org/0>
Content-Transfer-Encoding: 8bit
Content-Type: application/xop+xml;charset=utf-8;type="text/xml"

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetLastSessionNoResponse xmlns="Kovair.OmnibusAdapter"><GetLastSessionNoResult>21</GetLastSessionNoResult></GetLastSessionNoResponse></s:Body></s:Envelope>

-----------------------------------------------------------------------

I want to get the value of GetLastSessionNoResult tag.

Waiting for your help

With Regards,

Tapas