Data retrieval from REST web service take a long time. Alternatives?

Currently I am retrieving data from Rest web service in XML format. I am using this data in form drop downs:
1. Calculate count of records in XML
2. Parsing with XPATH XML for every count and populate Text variables for display labels and values.
The problem is, it takes a long time for data processing and variables population. What is a better approach to do the same.

OriginalPostID-148309

OriginalPostID-148309

  Discussion posts and replies are publicly visible

Parents
  • @andrewg
    I have the same requirement as pavelb. Could you please let me know how we can put apply on xpathsnippet(). Actually I want to form my request CDT based on request XML. If there are multiple tags like in above xml then my cdt should form in array form.
    Currently my CDT forming like below:
    orgUnitDataCollection=[orgUnitData[orgUnit=FC3/BU3/C3;FC4/BU4/C3, orgUnitId=8ac498cd;34536536]]

    But I need to form in the below format:
    orgUnitDataCollection=[orgUnitData[orgUnit=FC3/BU3/C3, orgUnitId=8ac498cd];[orgUnit=FC4/BU4/C4, orgUnitId=34536536]]

    Please let me know how should I use xpathsnippet in apply()

Reply
  • @andrewg
    I have the same requirement as pavelb. Could you please let me know how we can put apply on xpathsnippet(). Actually I want to form my request CDT based on request XML. If there are multiple tags like in above xml then my cdt should form in array form.
    Currently my CDT forming like below:
    orgUnitDataCollection=[orgUnitData[orgUnit=FC3/BU3/C3;FC4/BU4/C3, orgUnitId=8ac498cd;34536536]]

    But I need to form in the below format:
    orgUnitDataCollection=[orgUnitData[orgUnit=FC3/BU3/C3, orgUnitId=8ac498cd];[orgUnit=FC4/BU4/C4, orgUnitId=34536536]]

    Please let me know how should I use xpathsnippet in apply()

Children
No Data