ToRecord() limits?: For a number of reasons (awkward webservices th

ToRecord() limits?:

For a number of reasons (awkward webservices that can't be changed by us, perceived performance issues with XPathSnippet on large record sets, etc.) I am parsing some webservice calls using the ToRecord() function in 7.6.

Question 1) If the external webservices we call start adding new/extra keys to the xml that weren't there when our CDT was designed will the ToRecord() still work when converting the new XML structure (with extra keys) to our CDT?

Question 2) One of the reasons to use ToRecord instead of XPathSnippet was because we may receive as many as 200 deeply nested/complex structures in 1 webservice call and need to parse this. We were worried that a) coding difficulty b) performance might be an issue when using the XPathSnippet versus ToRecord. Is this a fair assumption? We can't use the existing Appian built smart services partly because of 'includes' in the wsdl....

OriginalPostID-130680

OriginalPostID-130680

  Discussion posts and replies are publicly visible

Parents
  • For #1, I don't mind 'loosing' the information on those newly added XML tags. My concern is that those people in our organization that manage the webservices (that are used for other applications outside Appian) arbitrarily add new tags to include in the response. If they do and don't inform us, we don't want our ToRecord() function to break because it attempts to put say, 31 tags into a CDT that has only 30. I don't mind having it just drop/ignore the newly added ones until we choose (or no) to add the new tag to our CDT.
Reply
  • For #1, I don't mind 'loosing' the information on those newly added XML tags. My concern is that those people in our organization that manage the webservices (that are used for other applications outside Appian) arbitrarily add new tags to include in the response. If they do and don't inform us, we don't want our ToRecord() function to break because it attempts to put say, 31 tags into a CDT that has only 30. I don't mind having it just drop/ignore the newly added ones until we choose (or no) to add the new tag to our CDT.
Children
No Data