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. Appendix A: Datatype Compatibility

Web Services Guide

Web Services Guide

Generating anyType Elements and Attributes

Generating anyType Elements and Attributes

Some schema elements and attributes allow any type of data in a SOAP message.
The anytype element represents a choice of all globally known types. Before you map a port to an anyType element in a SOAP message, choose an available complex type or xs:string. If the WSDL or schema does not contain a complex type, the Developer tool replaces the anyType element type with xs:string.
To choose an element type in the Operation area, click
Choose
in the
Type
column for the anyType element. A list of available complex types and xs:string appears.
The following element and attributes allow any type of data:
anyType element
Allows an element to be any datatype in the associated XML file.
anySimpleType element
Allows an element to be any simpleType in the associated XML file.
ANY content element
Allows an element to be any global element defined in the schema.
anyAttribute attribute
Allows an element to be any attribute already defined in the schema.

0 COMMENTS

We’d like to hear from you!