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

Union Element

Union Element

The union element is a simple type that is a union of more than one type.
The following text shows an element Size that is a union of two simple types, size_no and size_string:
<xs:element name="Size"> <xs:simpleType> <xs:union memberTypes="size_no size_string" /> </xs:simpleType> </xs:element>
To map the size to an output port, create one port for the size. Configure the output port as a string. You can configure another transformation in the mapping to convert the data to another type.

0 COMMENTS

We’d like to hear from you!