main
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3
4(c) 2004-2006 BEA Systems Inc., Computer Associates International, Inc.,
5International Business Machines Corporation, Microsoft Corporation,
6Inc., SAP AG, Sun Microsystems, and webMethods. All rights reserved.
7
8Permission to copy and display the WS-MetadataExchange Specification
9(the "Specification"), in any medium without fee or royalty is hereby
10granted, provided that you include the following on ALL copies of the
11Specification that you make:
12
131. A link or URL to the Specification at this location.
142. The copyright notice as shown in the Specification.
15
16BEA Systems, Computer Associates, IBM, Microsoft, SAP, Sun, and
17webMethods (collectively, the "Authors") each agree to grant you a
18license, under royalty-free and otherwise reasonable,
19non-discriminatory terms and conditions, to their respective essential
20patent claims that they deem necessary to implement the
21WS-MetadataExchange Specification.
22
23THE SPECIFICATION IS PROVIDED "AS IS," AND THE AUTHORS MAKE NO
24REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT
25LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
26PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE
27SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE
28IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY
29PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
30
31THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL,
32INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY
33USE OR DISTRIBUTION OF THE SPECIFICATIONS.
34
35The name and trademarks of the Authors may NOT be used in any manner,
36including advertising or publicity pertaining to the Specifications or
37their contents without specific, written prior permission. Title to
38copyright in the Specifications will at all times remain with the
39Authors.
40
41No other rights are granted by implication, estoppel or otherwise.
42-->
43<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa04="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsa10="http://www.w3.org/2005/08/addressing" targetNamespace="http://schemas.xmlsoap.org/ws/2004/09/mex" elementFormDefault="qualified" blockDefault="#all">
44 <!-- Get Metadata request -->
45 <xs:element name="GetMetadata">
46 <xs:complexType>
47 <xs:sequence>
48 <xs:element ref="tns:Dialect" minOccurs="0" />
49 <xs:element ref="tns:Identifier" minOccurs="0" />
50 </xs:sequence>
51 <xs:anyAttribute namespace="##other" processContents="lax" />
52 </xs:complexType>
53 </xs:element>
54 <xs:element name="Dialect" type="xs:anyURI" />
55 <xs:element name="Identifier" type="xs:anyURI" />
56 <!-- Get Metadata response -->
57 <xs:element name="Metadata">
58 <xs:complexType>
59 <xs:sequence>
60 <xs:element ref="tns:MetadataSection" minOccurs="0" maxOccurs="unbounded" />
61 <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
62 </xs:sequence>
63 <xs:anyAttribute namespace="##other" processContents="lax" />
64 </xs:complexType>
65 </xs:element>
66 <xs:element name="MetadataSection">
67 <xs:complexType>
68 <xs:choice>
69 <xs:any namespace="##other" processContents="lax" />
70 <xs:element ref="tns:MetadataReference" />
71 <xs:element ref="tns:Location" />
72 </xs:choice>
73 <xs:attribute name="Dialect" type="xs:anyURI" use="required" />
74 <xs:attribute name="Identifier" type="xs:anyURI" />
75 <xs:anyAttribute namespace="##other" processContents="lax" />
76 </xs:complexType>
77 </xs:element>
78 <!--
79
80 Ideally, the type of the MetadataReference would have been
81 the union of wsa04:EndpointReferenceType and
82 wsa10:EndpointReferenceType but unfortunately xs:union only
83 works for simple types. As a result, we have to define
84 the mex:MetadataReference using xs:any.
85
86-->
87 <xs:element name="MetadataReference">
88 <xs:complexType>
89 <xs:sequence>
90 <xs:any minOccurs="1" maxOccurs="unbounded" processContents="lax" namespace="##other" />
91 </xs:sequence>
92 </xs:complexType>
93 </xs:element>
94 <xs:element name="Location" type="xs:anyURI" />
95</xs:schema>