PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

Unable to ready XML doc using GetXmlDoc()

edited Jan 30, 2020 11:00AM in PeopleTools and Lifecycle Management - PSFT (MOSC) 5 commentsAnswered ✓

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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center