WS-MetadataExchange XML Schema


From:         Web Services Metadata Exchange (WS-MetadataExchange)
Edited by:    Francisco Curbera (IBM) and Jeffrey Schlimmer (Microsoft)
Date:         February 2004.
News item:    http://xml.coverpages.org/ni2004-03-05-a.html

Appendix I - XML Schema

A normative copy of the XML Schema [XML Schema Part 1, Part 2]
and WSDL [WSDL 1.1] descriptions for this specification may
be retrieved by resolving the XML namespace URI for this
specification (listed in Section 2.2 XML Namespaces).
[Viz., http://schemas.xmlsoap.org/ws/2004/02/mex]

A non-normative copy of the XML Schema description is listed
below for convenience. Normative text within this specification
takes precedence over the normative outlines which take
precedence over the XML Schema and WSDL descriptions.

<xs:schema
    targetNamespace='http://schemas.xmlsoap.org/ws/2004/02/mex'
    xmlns:tns='http://schemas.xmlsoap.org/ws/2004/02/mex'
    xmlns:wsa='http://schemas.xmlsoap.org/ws/2003/03/addressing'
    xmlns:wsp='http://schemas.xmlsoap.org/ws/2002/12/policy'
    xmlns:xs='http://www.w3.org/2001/XMLSchema'
    xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
    elementFormDefault='qualified'
    blockDefault='#all' >

  <xs:import
      namespace='http://schemas.xmlsoap.org/ws/2003/03/addressing'
      schemaLocation='http://schemas.xmlsoap.org/ws/2003/03/addressing' />

  <xs:import
      namespace='http://schemas.xmlsoap.org/ws/2002/12/policy'
      schemaLocation='http://schemas.xmlsoap.org/ws/2002/12/Policy/' />

  <xs:import
      namespace='http://schemas.xmlsoap.org/wsdl/'
      schemaLocation='http://schemas.xmlsoap.org/wsdl/' />

  <xs:import
      namespace='http://www.w3.org/2001/XMLSchema'
      schemaLocation='http://www.w3.org/2001/XMLSchema.xsd' />

  <xs:element name='GetPolicy' >
    <xs:complexType>
      <xs:sequence>
        <xs:element ref='tns:TargetNamespace' minOccurs='0' />
      </xs:sequence>
      <xs:anyAttribute namespace='##any' processContents='lax' />
    </xs:complexType>
  </xs:element>
  <xs:element name='GetPolicyResponse' >
    <xs:complexType>
      <xs:sequence>
        <xs:element ref='wsp:Policy' maxOccurs='unbounded' />
      </xs:sequence>
      <xs:anyAttribute namespace='##any' processContents='lax' />
    </xs:complexType>
  </xs:element>

  <xs:element name='GetWSDL' >
    <xs:complexType>
      <xs:sequence>
        <xs:element ref='tns:TargetNamespace' minOccurs='0' />
      </xs:sequence>
      <xs:anyAttribute namespace='##any' processContents='lax' />
    </xs:complexType>
  </xs:element>
  <xs:element name='GetWSDLResponse' >
    <xs:complexType>
      <xs:sequence>
        <xs:element ref='wsdl:definitions' maxOccurs='unbounded' />
      </xs:sequence>
      <xs:anyAttribute namespace='##any' processContents='lax' />
    </xs:complexType>
  </xs:element>

  <xs:element name='GetSchema' >
    <xs:complexType>
      <xs:sequence>
        <xs:element ref='tns:TargetNamespace' />
      </xs:sequence>
      <xs:anyAttribute namespace='##any' processContents='lax' />
    </xs:complexType>
  </xs:element>
  <xs:element name='GetSchemaResponse' >
    <xs:complexType>
      <xs:sequence>
        <xs:element ref='xs:schema' maxOccurs='unbounded' />
      </xs:sequence>
      <xs:anyAttribute namespace='##any' processContents='lax' />
    </xs:complexType>
  </xs:element>

  <xs:element name='TargetNamespace' type='xs:anyURI' />

  <xs:element name='PolicyUnavailableFaultDetail'
              type='tns:OpenDetailType' />
  <xs:element name='WSDLUnavailableFaultDetail'
              type='tns:OpenDetailType' />
  <xs:element name='UnknownTargetNamespaceFaultDetail'
              type='tns:OpenDetailType' />
  <xs:element name='InvalidRequestFaultDetail'
              type='tns:OpenDetailType' />
  <xs:element name='ResponseTooLargeFaultDetail'
              type='tns:OpenDetailType' />

  <xs:complexType name='OpenDetailType' >
    <xs:sequence>
      <xs:any minOccurs='0'
              maxOccurs='unbounded'
              namespace='##any'
              processContents='lax' />
    </xs:sequence>
   <xs:anyAttribute namespace='##any'
                    processContents='lax' />
  </xs:complexType>

</xs:schema>

1. A link or URL to the Specification at this location:
http://msdn.microsoft.com/ws/2004/02/mex
2. The copyright notice as shown in the WS- MetadataExchange Specification.
EXCEPT FOR THE COPYRIGHT LICENSE GRANTED ABOVE, THE AUTHORS DO NOT
GRANT, EITHER EXPRESSLY OR IMPLIEDLY, A LICENSE TO ANY INTELLECTUAL
PROPERTY, INCLUDING PATENTS, THEY OWN OR CONTROL.
THE SPECIFICATION IS PROVIDED "AS IS," AND THE AUTHORS MAKE NO
REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT
LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE
SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION
OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
TRADEMARKS OR OTHER RIGHTS.
THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL
OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR
DISTRIBUTION OF THE SPECIFICATION.
The Specification may change before final release and you are cautioned against relying
on the content of this Specification.