|
FlexDoc/XML XSDDoc Demo |
XML Schemas for WSDL 2.0 |
XML Source of "wsdl20.xsd"
See Also: |
|
Schema Location: |
https://www.w3.org/2002/ws/desc/ns/wsdl20.xsd |
XML Source
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd" [
]>
<!--
W3C XML Schema defined in the Web Services Description (WSDL)
Version 2.0 specification
http://www.w3.org/TR/wsdl20
Copyright © 2007 World Wide Web Consortium,
(Massachusetts Institute of Technology, European Research Consortium for
Informatics and Mathematics, Keio University). All Rights Reserved. This
work is distributed under the W3C® Software License [1] in the hope that
it will be useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
$Id: wsdl20.xsd,v 1.4 2008/03/31 19:12:51 plehegar Exp $
-->
<xs:schema attributeFormDefault="unqualified" blockDefault="" elementFormDefault="qualified" finalDefault="" targetNamespace="http://www.w3.org/ns/wsdl" xmlns:wsdl="http://www.w3.org/ns/wsdl" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="documentation" type="wsdl:DocumentationType"/>
<xs:sequence>
<xs:any maxOccurs="unbounded" minOccurs="0" namespace="##any" processContents="lax"/> </xs:sequence>
<xs:anyAttribute namespace="##other" processContents="lax"/> </xs:complexType>
<xs:annotation>
<xs:documentation>
This type is extended by component types to allow them to be documented.
</xs:documentation> </xs:annotation>
</xs:sequence> </xs:complexType>
<xs:annotation>
<xs:documentation>
This type is extended by component types to allow
attributes from other namespaces to be added.
</xs:documentation> </xs:annotation>
<xs:complexContent>
<xs:extension base="wsdl:DocumentedType">
<xs:anyAttribute namespace="##other" processContents="lax"/> </xs:extension> </xs:complexContent> </xs:complexType>
<!-- description element decl and type def -->
<xs:unique name="interface">
<xs:selector xpath="wsdl:interface"/>
<xs:field xpath="@name"/>
</xs:unique>
<xs:unique name="binding">
<xs:selector xpath="wsdl:binding"/>
<xs:field xpath="@name"/>
</xs:unique>
<xs:unique name="service">
<xs:selector xpath="wsdl:service"/>
<xs:field xpath="@name"/>
</xs:unique> </xs:element>
<xs:annotation>
<xs:documentation>
Although correct, this type declaration does not capture
all the constraints on the contents of the wsdl:description
element as defined by the WSDL 2.0 specification.
In particular, the ordering constraints wrt elements preceding
and following the wsdl:types child element are not captured, as
attempts to incorporate such restrictions in the schema
ran afoul of the UPA (Unique Particle Attribution) rule
in the XML Schema language.
Please refer to the WSDL 2.0 specification for
additional information on the contents of this type.
</xs:documentation> </xs:annotation>
<xs:complexContent>
<xs:extension base="wsdl:ExtensibleDocumentedType">
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="wsdl:import"/>
<xs:any maxOccurs="1" minOccurs="1" namespace="##other" processContents="lax"/> </xs:choice>
</xs:extension> </xs:complexContent> </xs:complexType>
<!-- types for import and include elements -->
<xs:complexContent>
<xs:extension base="wsdl:ExtensibleDocumentedType">
<xs:sequence>
<xs:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="strict"/> </xs:sequence>
<xs:attribute name="namespace" type="xs:anyURI" use="required"/>
<xs:attribute name="location" type="xs:anyURI" use="optional"/> </xs:extension> </xs:complexContent> </xs:complexType>
<xs:complexContent>
<xs:extension base="wsdl:ExtensibleDocumentedType">
<xs:sequence>
<xs:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="strict"/> </xs:sequence>
<xs:attribute name="location" type="xs:anyURI" use="required"/> </xs:extension> </xs:complexContent> </xs:complexType>
<xs:complexType mixed="false" name="TypesType">
<xs:complexContent>
<xs:extension base="wsdl:ExtensibleDocumentedType">
<xs:sequence>
<xs:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="strict"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType>
<!-- parts related to wsdl:interface -->
<xs:unique name="operation">
<xs:selector xpath="wsdl:operation"/>
<xs:field xpath="@name"/>
</xs:unique>
<xs:unique name="fault">
<xs:selector xpath="wsdl:fault"/>
<xs:field xpath="@name"/>
</xs:unique> </xs:element>
<xs:complexContent>
<xs:extension base="wsdl:ExtensibleDocumentedType">
<xs:choice maxOccurs="unbounded" minOccurs="0">
</xs:choice>
<xs:attribute name="name" type="xs:NCName" use="required"/>
<xs:attribute name="extends" use="optional">
<xs:simpleType>
<xs:list itemType="xs:QName"/>
</xs:simpleType> </xs:attribute>
<xs:simpleType>
<xs:list itemType="xs:anyURI"/>
</xs:simpleType> </xs:attribute> </xs:extension> </xs:complexContent> </xs:complexType>
<xs:complexContent>
<xs:extension base="wsdl:ExtensibleDocumentedType">
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element name="input" type="wsdl:MessageRefType"/>
<xs:any maxOccurs="1" minOccurs="1" namespace="##other" processContents="lax"/> </xs:choice>
<xs:attribute name="name" type="xs:NCName" use="required"/>
<xs:attribute name="pattern" type="xs:anyURI" use="optional"/>
<xs:attribute name="safe" type="xs:boolean" use="optional"/>
<xs:attribute name="style" type="xs:anyURI" use="optional"/> </xs:extension> </xs:complexContent> </xs:complexType>
<xs:complexContent>
<xs:extension base="wsdl:ExtensibleDocumentedType">
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:any maxOccurs="1" minOccurs="1" namespace="##other" processContents="lax"/> </xs:choice>
<xs:attribute name="messageLabel" type="xs:NCName" use="optional"/>
</xs:extension> </xs:complexContent> </xs:complexType>
<xs:annotation>
<xs:documentation>
Use the QName of a GED that describes the content,
#any for any content,
#none for empty content, or
#other for content described by some other extension attribute that references a declaration in a non-XML extension type system.
</xs:documentation> </xs:annotation>
<xs:union memberTypes="xs:QName">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="#any"/>
<xs:enumeration value="#none"/>
<xs:enumeration value="#other"/>
</xs:restriction> </xs:simpleType> </xs:union> </xs:simpleType>
<xs:complexContent>
<xs:extension base="wsdl:ExtensibleDocumentedType">
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:any maxOccurs="1" minOccurs="1" namespace="##other" processContents="lax"/> </xs:choice>
<xs:attribute name="ref" type="xs:QName" use="required"/>
<xs:attribute name="messageLabel" type="xs:NCName" use="optional"/> </xs:extension> </xs:complexContent> </xs:complexType>
<xs:complexContent>
<xs:extension base="wsdl:ExtensibleDocumentedType">
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:any maxOccurs="1" minOccurs="1" namespace="##other" processContents="lax"/> </xs:choice>
<xs:attribute name="name" type="xs:NCName" use="required"/>
</xs:extension> </xs:complexContent> </xs:complexType>
<!-- types related to wsdl:binding -->
<xs:complexContent>
<xs:extension base="wsdl:ExtensibleDocumentedType">
<xs:choice maxOccurs="unbounded" minOccurs="0">
</xs:choice>
<xs:attribute name="name" type="xs:NCName" use="required"/>
<xs:attribute name="type" type="xs:anyURI" use="required"/>
<xs:attribute name="interface" type="xs:QName" use="optional"/> </xs:extension> </xs:complexContent> </xs:complexType>
<xs:complexContent>
<xs:extension base="wsdl:ExtensibleDocumentedType">
<xs:choice maxOccurs="unbounded" minOccurs="0">
</xs:choice>
<xs:attribute name="ref" type="xs:QName" use="required"/> </xs:extension> </xs:complexContent> </xs:complexType>
<xs:complexContent>
<xs:extension base="wsdl:ExtensibleDocumentedType">
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:any maxOccurs="1" minOccurs="1" namespace="##other" processContents="lax"/> </xs:choice>
<xs:attribute name="messageLabel" type="xs:NCName" use="optional"/> </xs:extension> </xs:complexContent> </xs:complexType>
<xs:complexContent>
<xs:extension base="wsdl:ExtensibleDocumentedType">
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:any maxOccurs="1" minOccurs="1" namespace="##other" processContents="lax"/> </xs:choice>
<xs:attribute name="ref" type="xs:QName" use="required"/>
<xs:attribute name="messageLabel" type="xs:NCName" use="optional"/> </xs:extension> </xs:complexContent> </xs:complexType>
<xs:complexContent>
<xs:extension base="wsdl:ExtensibleDocumentedType">
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:any maxOccurs="1" minOccurs="1" namespace="##other" processContents="lax"/> </xs:choice>
<xs:attribute name="ref" type="xs:QName" use="required"/> </xs:extension> </xs:complexContent> </xs:complexType>
<!-- types related to service -->
<xs:unique name="endpoint">
<xs:selector xpath="wsdl:endpoint"/>
<xs:field xpath="@name"/>
</xs:unique> </xs:element>
<xs:complexContent>
<xs:extension base="wsdl:ExtensibleDocumentedType">
<xs:choice maxOccurs="unbounded" minOccurs="1">
<xs:element ref="wsdl:endpoint"/>
<xs:any maxOccurs="1" minOccurs="1" namespace="##other" processContents="lax"/> </xs:choice>
<xs:attribute name="name" type="xs:NCName" use="required"/>
<xs:attribute name="interface" type="xs:QName" use="required"/> </xs:extension> </xs:complexContent> </xs:complexType>
<xs:complexContent>
<xs:extension base="wsdl:ExtensibleDocumentedType">
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:any maxOccurs="1" minOccurs="1" namespace="##other" processContents="lax"/> </xs:choice>
<xs:attribute name="name" type="xs:NCName" use="required"/>
<xs:attribute name="binding" type="xs:QName" use="required"/>
<xs:attribute name="address" type="xs:anyURI" use="optional"/> </xs:extension> </xs:complexContent> </xs:complexType>
<xs:attribute name="required" type="xs:boolean"/>
<xs:annotation>
<xs:documentation>
This abstract type is intended to serve as the base type for
extension elements. It includes the wsdl:required attribute
which it is anticipated will be used by most extension elements
</xs:documentation> </xs:annotation>
</xs:complexType>
</xs:schema>