Stylus Studio XML Editor

Table of contents

Appendices

3 Types

Types

At the abstract level, the Types Component is a container for imported and embedded schema components. By design, WSDL supports any schema language for which the syntax and semantics of import or embed have been defined. Support for the W3C XML Schema Description Language [XMLSchemaP1],[XMLSchemaP2] is required of all processors. Instances of WSDL may require support for an alternative schema language by using the standard wsdl:required attribute information item (any imported or embedded XML Schema element information items may be regarded as having this attribute information item set). Only the XML Schema implementation is defined in this specification.

The schemas defined or referenced in the Types Component provide the type system used for message parts. Message parts indicate their structure and content by using the standard attribute information items type and element, or for alternate schema languages in which these concepts do not map well, by defining alternative attribute information item extensions to the part element information item.

The types element information item encloses data type definitions used to define messages and has the following Infoset properties;

  • A [local name] of types.

  • A [namespace name] of http://www.w3.org/2003/03/wsdl.

  • Zero or more namespace qualified attribute information items in its [attributes] property. The [namespace name] property of such attribute information items MUST NOT be http://www.w3.org/2003/03/wsdl

  • Zero or more element information items amongst its [children] as follows;

    • An optional documentation element information item (see [Documentation]) in its [children] property.

    • Zero or more element information items from among the following, in any order:

      • xs:import element information items

      • xs:schema element information items

      • Other namespace qualified element information items whose namespace is NOT http://www.w3.org/2003/03/wsdl