<?xml version='1.0' encoding='UTF-8' ?>

<!--

(c) 2004 BEA Systems Inc., International Business Machines Corporation, 
Microsoft Corporation, Inc, and SAP AG. All rights reserved.

BEA Systems, IBM, Microsoft, and SAP (collectively, the "Authors")
hereby grant you permission to copy and display the
WS-MetadataExchange Schema (the Document), in any medium without fee
or royalty, provided that you include the following on ALL copies of
the Document, or portions thereof, that you make:

1. A link or URL to the Document at this location.
2. The copyright notice as shown in the WS-MetadataExchange Schema.

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 DOCUMENT 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 DOCUMENT 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 DOCUMENT.

The Document may change before final release and you are cautioned against 
relying on the content of this Document.

The name and trademarks of the Authors may NOT be used in any manner, 
including advertising or publicity pertaining to the Document or its 
contents without specific, written prior permission. Title to copyright in 
the Document will at all times remain with the Authors.

No other rights are granted by implication, estoppel or otherwise.

-->

<xs:schema
    targetNamespace='http://schemas.xmlsoap.org/ws/2004/03/mex'
    xmlns:tns='http://schemas.xmlsoap.org/ws/2004/03/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>
