Unable to ready XML doc using GetXmlDoc()
Hi Team,
We are trying to consume message from a third party queue and we are using the below code to read the XML
&MSG1 = CreateMessage(Operation.NU_FASIS_UPDATE_GET);
&MSG1.URIResourceIndex = 1;
/*Send the message */
&R_MSG = %IntBroker.SyncRequest(&MSG1);
If &R_MSG.ResponseStatus = %IB_Status_Success Then
&XD = &R_MSG.GetXmlDoc();
&cdata = &XD.GetElementsByTagName("data");
MessageBox(0, " ", 0, 0, "Inside1");
If &cdata.Len > 0 Then
MessageBox(0, " ", 0, 0, "Inside3");
&xmlString = &cdata [1].GetCDataValue();
We are able to see the message in the synchronous services monitor But unable to read the same with the above code. It does not go beyond "If &cdata.Len > 0 Then" but XML exists in the synchronous service monitor