Support Article
ParseXML does not parse repeating records in ResponseXML
SA-91246
Summary
ParseXML does not parse repeating records in ResponseXML.
Error Messages
Not Applicable
Steps to Reproduce
- Import the WSDL file.
- Execute the generated parseXML and pass the ResponseXML with repeated records through it.
Root Cause
A defect or configuration issue in the operating environment.
WSDL does not contain the maxOccurs="unbounded" attribute for the property that must be repeated. Hence, it is created as a page instead of a page list. Therefore, repeated records are not parsed through parseXML.
Resolution
Perform the following local-change:
In the WSDL, add the maxOccurs="unbounded" attribute for the element that must be repeated.
Published October 18, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.