Table of Contents

Search

  1. Preface
  2. Web Services
  3. SOAP Web Services
  4. WSDL Data Object
  5. Schema Object
  6. How to Create a SOAP Web Service
  7. Operation Mappings
  8. Parsing Web Service SOAP Messages
  9. Generating Web Service SOAP Messages
  10. Web Service Consumer Transformation
  11. REST Web Services
  12. How to Create a REST Web Service
  13. REST Web Service Consumer Transformation
  14. REST Web Service Consumer Transformation Use Cases
  15. REST and SOAP Web Service Administration
  16. Datatype Compatibility

Web Services Guide

Web Services Guide

List Element

List Element

A list is an XML element that can contain multiple simple type values in the same element or attribute. The Data Integration Service can process a list in the input data if the list is represented as consolidated string of data.
If each item in the list is a separate element, such as ClassDates1, ClassDates2, and ClassDates3, the Data Integration Service cannot process the items as a list. You can use an Expression transformation to combine them into a string if you need to return a list in a SOAP message.
The following input rows contain a list element called ClassDates that contains days of the week:
CourseID
Name
ClassDates
Math 1
Beginning Algebra
Mon Wed Fri
History 1
World History
Tue Thu
The Data Integration Service can return a SOAP message with the following XML structure:
<class> <courseId>Math 1</courseId> <name>Beginning Algebra</name> <classDates>Mon Wed Fri</classDates> </class> <class> <courseId>History 1</courseId> <name>World History</name> <classDates>Tue Thu</classDates> </class>

0 COMMENTS

We’d like to hear from you!