Stylus Studio XML Editor

Table of contents

Appendices

4.1 Including Descriptions

Including Descriptions

The WSDL include element information item allows for the separation of different components of a service definition, from the same target namespace, into independent WSDL documents which can be merged as needed.

The WSDL include element information item is modeled after the XML Schema include element information item (see [XMLSchemaP1], section 4.2.3 "References to schema components in the same namespace"). Specifically it can be used to include components from WSDL descriptions that share a target namespace with the including description. Components in included descriptions are part of the component model of the including description. The included components can be referenced by QName. Note that because all WSDL descriptions have a target namespace, no-namespace includes ( sometimes known as chameleon includes ) never occur in WSDL.

The include element information item has:

  • A [local name] of include.

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

  • An attribute information item which has:

    • A [local name] of location.

    • A [namespace name] which has no value.

    A location attribute information item is of type xs:anyURI. Its actual value is the location of some information for the namespace identified by the targetNamespace attribute information item of the containing definitions element information item.

    The actual value of the targetNamespace attribute information item of the included WSDL document MUST match the actual value of the targetNamespace attribute information item of the definitions element information item which is the [parent] of the include element information item.