blob: 9981d6354bb60e5a3398a01be0afc9b08ef87215 [file] [log] [blame]
david_williams524ed602007-05-15 02:42:24 +00001<?xml version="1.0" encoding="UTF-8" ?>
2<!--
3
4Copyright 2001 - 2005, International Business Machines Corporation and Microsoft Corporation
5All Rights Reserved
6
7License for WSDL Schema Files
8
9The Authors grant permission to copy and distribute the WSDL Schema
10Files in any medium without fee or royalty as long as this notice and
11license are distributed with them. The originals of these files can
12be located at:
13
14http://schemas.xmlsoap.org/wsdl/2004-08-24.xsd
15
16THESE SCHEMA FILES ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS
17OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THESE FILES, INCLUDING, BUT NOT
18LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
19NON-INFRINGEMENT OR TITLE. THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT,
20INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR
21RELATING TO ANY USE OR DISTRIBUTION OF THESE FILES.
22
23The name and trademarks of the Authors may NOT be used in any manner,
24including advertising or publicity pertaining to these files or any program
25or service that uses these files, written prior permission. Title to copyright
26in these files will at all times remain with the Authors.
27
28No other rights are granted by implication, estoppel or otherwise.
29
30
31-->
32<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
33 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
34 targetNamespace="http://schemas.xmlsoap.org/wsdl/"
35 elementFormDefault="qualified" >
36
37 <xs:complexType mixed="true" name="tDocumentation" >
38 <xs:sequence>
39 <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" />
40 </xs:sequence>
41 </xs:complexType>
42
43 <xs:complexType name="tDocumented" >
44 <xs:annotation>
45 <xs:documentation>
46 This type is extended by component types to allow them to be documented
47 </xs:documentation>
48 </xs:annotation>
49 <xs:sequence>
50 <xs:element name="documentation" type="wsdl:tDocumentation" minOccurs="0" />
51 </xs:sequence>
52 </xs:complexType>
53
54 <!-- implemented resolution of swa124 -->
55 <xs:complexType name="tExtensibleAttributesDocumented" abstract="true" >
56 <xs:complexContent>
57 <xs:extension base="wsdl:tDocumented" >
58 <xs:annotation>
59 <xs:documentation>
60 This type is extended by component types to allow attributes from other namespaces to be added.
61 </xs:documentation>
62 </xs:annotation>
63 <xs:sequence>
64 <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
65 </xs:sequence>
66 <xs:anyAttribute namespace="##other" processContents="lax" />
67 </xs:extension>
68 </xs:complexContent>
69 </xs:complexType>
70
71 <!-- implemented resolution of swa124 -->
72 <xs:complexType name="tExtensibleDocumented" abstract="true" >
73 <xs:complexContent>
74 <xs:extension base="wsdl:tDocumented" >
75 <xs:annotation>
76 <xs:documentation>
77 This type is extended by component types to allow elements from other namespaces to be added.
78 </xs:documentation>
79 </xs:annotation>
80 <xs:sequence>
81 <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
82 </xs:sequence>
83 <xs:anyAttribute namespace="##other" processContents="lax" />
84 </xs:extension>
85 </xs:complexContent>
86 </xs:complexType>
87
88 <xs:element name="definitions" type="wsdl:tDefinitions" >
89 <xs:key name="message" >
90 <xs:selector xpath="wsdl:message" />
91 <xs:field xpath="@name" />
92 </xs:key>
93 <xs:key name="portType" >
94 <xs:selector xpath="wsdl:portType" />
95 <xs:field xpath="@name" />
96 </xs:key>
97 <xs:key name="binding" >
98 <xs:selector xpath="wsdl:binding" />
99 <xs:field xpath="@name" />
100 </xs:key>
101 <xs:key name="service" >
102 <xs:selector xpath="wsdl:service" />
103 <xs:field xpath="@name" />
104 </xs:key>
105 <xs:key name="import" >
106 <xs:selector xpath="wsdl:import" />
107 <xs:field xpath="@namespace" />
108 </xs:key>
109 </xs:element>
110
111 <xs:group name="anyTopLevelOptionalElement" >
112 <xs:annotation>
113 <xs:documentation>
114 Any top level optional element allowed to appear more then once - any child of definitions element except wsdl:types. Any extensibility element is allowed in any place.
115 </xs:documentation>
116 </xs:annotation>
117 <xs:choice>
118 <xs:element name="import" type="wsdl:tImport" />
119 <xs:element name="types" type="wsdl:tTypes" />
120 <xs:element name="message" type="wsdl:tMessage" >
121 <xs:unique name="part" >
122 <xs:selector xpath="wsdl:part" />
123 <xs:field xpath="@name" />
124 </xs:unique>
125 </xs:element>
126 <xs:element name="portType" type="wsdl:tPortType" />
127 <xs:element name="binding" type="wsdl:tBinding" />
128 <xs:element name="service" type="wsdl:tService" >
129 <xs:unique name="port" >
130 <xs:selector xpath="wsdl:port" />
131 <xs:field xpath="@name" />
132 </xs:unique>
133 </xs:element>
134 </xs:choice>
135 </xs:group>
136
137 <!-- implemented resolution of er015 and UPA fix. ASK -->
138 <xs:complexType name="tDefinitions">
139 <xs:complexContent>
140 <xs:extension base="wsdl:tExtensibleDocumented">
141 <xs:sequence minOccurs="0">
142 <xs:group ref="wsdl:anyTopLevelOptionalElement"/>
143 <xs:choice minOccurs="0" maxOccurs="unbounded">
144 <xs:group ref="wsdl:anyTopLevelOptionalElement"/>
145 <xs:any namespace="##other" processContents="lax"/>
146 </xs:choice>
147 </xs:sequence>
148 <xs:attribute name="targetNamespace" type="xs:anyURI" use=
149"optional"/>
150 <xs:attribute name="name" type="xs:NCName" use="optional"/>
151 </xs:extension>
152 </xs:complexContent>
153 </xs:complexType>
154
155 <xs:complexType name="tImport" >
156 <xs:complexContent>
157 <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
158 <xs:attribute name="namespace" type="xs:anyURI" use="required" />
159 <xs:attribute name="location" type="xs:anyURI" use="required" />
160 </xs:extension>
161 </xs:complexContent>
162 </xs:complexType>
163
164 <xs:complexType name="tTypes" >
165 <xs:complexContent>
166 <xs:extension base="wsdl:tExtensibleDocumented" />
167 </xs:complexContent>
168 </xs:complexType>
169
170 <xs:complexType name="tMessage" >
171 <xs:complexContent>
172 <xs:extension base="wsdl:tExtensibleDocumented" >
173 <xs:sequence>
174 <xs:element name="part" type="wsdl:tPart" minOccurs="0" maxOccurs="unbounded" />
175 </xs:sequence>
176 <xs:attribute name="name" type="xs:NCName" use="required" />
177 </xs:extension>
178 </xs:complexContent>
179 </xs:complexType>
180
181 <xs:complexType name="tPart" >
182 <xs:complexContent>
183 <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
184 <xs:attribute name="name" type="xs:NCName" use="required" />
185 <xs:attribute name="element" type="xs:QName" use="optional" />
186 <xs:attribute name="type" type="xs:QName" use="optional" />
187 </xs:extension>
188 </xs:complexContent>
189 </xs:complexType>
190
191 <xs:complexType name="tPortType" >
192 <xs:complexContent>
193 <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
194 <xs:sequence>
195 <xs:element name="operation" type="wsdl:tOperation" minOccurs="0" maxOccurs="unbounded" />
196 </xs:sequence>
197 <xs:attribute name="name" type="xs:NCName" use="required" />
198 </xs:extension>
199 </xs:complexContent>
200 </xs:complexType>
201
202 <xs:complexType name="tOperation" >
203 <xs:complexContent>
204 <xs:extension base="wsdl:tExtensibleDocumented" >
205 <xs:sequence>
206 <xs:choice>
207 <xs:group ref="wsdl:request-response-or-one-way-operation" />
208 <xs:group ref="wsdl:solicit-response-or-notification-operation" />
209 </xs:choice>
210 </xs:sequence>
211 <xs:attribute name="name" type="xs:NCName" use="required" />
212 <xs:attribute name="parameterOrder" type="xs:NMTOKENS" use="optional" />
213 </xs:extension>
214 </xs:complexContent>
215 </xs:complexType>
216
217 <xs:group name="request-response-or-one-way-operation" >
218 <xs:sequence>
219 <xs:element name="input" type="wsdl:tParam" />
220 <xs:sequence minOccurs='0' >
221 <xs:element name="output" type="wsdl:tParam" />
222 <xs:element name="fault" type="wsdl:tFault" minOccurs="0" maxOccurs="unbounded" />
223 </xs:sequence>
224 </xs:sequence>
225 </xs:group>
226
227 <xs:group name="solicit-response-or-notification-operation" >
228 <xs:sequence>
229 <xs:element name="output" type="wsdl:tParam" />
230 <xs:sequence minOccurs='0' >
231 <xs:element name="input" type="wsdl:tParam" />
232 <xs:element name="fault" type="wsdl:tFault" minOccurs="0" maxOccurs="unbounded" />
233 </xs:sequence>
234 </xs:sequence>
235 </xs:group>
236
237 <xs:complexType name="tParam" >
238 <xs:complexContent>
239 <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
240 <xs:attribute name="name" type="xs:NCName" use="optional" />
241 <xs:attribute name="message" type="xs:QName" use="required" />
242 </xs:extension>
243 </xs:complexContent>
244 </xs:complexType>
245
246 <xs:complexType name="tFault" >
247 <xs:complexContent>
248 <xs:extension base="wsdl:tExtensibleAttributesDocumented" >
249 <xs:attribute name="name" type="xs:NCName" use="required" />
250 <xs:attribute name="message" type="xs:QName" use="required" />
251 </xs:extension>
252 </xs:complexContent>
253 </xs:complexType>
254
255 <xs:complexType name="tBinding" >
256 <xs:complexContent>
257 <xs:extension base="wsdl:tExtensibleDocumented" >
258 <xs:sequence>
259 <xs:element name="operation" type="wsdl:tBindingOperation" minOccurs="0" maxOccurs="unbounded" />
260 </xs:sequence>
261 <xs:attribute name="name" type="xs:NCName" use="required" />
262 <xs:attribute name="type" type="xs:QName" use="required" />
263 </xs:extension>
264 </xs:complexContent>
265 </xs:complexType>
266
267 <xs:complexType name="tBindingOperationMessage" >
268 <xs:complexContent>
269 <xs:extension base="wsdl:tExtensibleDocumented" >
270 <xs:attribute name="name" type="xs:NCName" use="optional" />
271 </xs:extension>
272 </xs:complexContent>
273 </xs:complexType>
274
275 <xs:complexType name="tBindingOperationFault" >
276 <xs:complexContent>
277 <xs:extension base="wsdl:tExtensibleDocumented" >
278 <xs:attribute name="name" type="xs:NCName" use="required" />
279 </xs:extension>
280 </xs:complexContent>
281 </xs:complexType>
282
283 <xs:complexType name="tBindingOperation" >
284 <xs:complexContent>
285 <xs:extension base="wsdl:tExtensibleDocumented" >
286 <xs:sequence>
287 <xs:element name="input" type="wsdl:tBindingOperationMessage" minOccurs="0" />
288 <xs:element name="output" type="wsdl:tBindingOperationMessage" minOccurs="0" />
289 <xs:element name="fault" type="wsdl:tBindingOperationFault" minOccurs="0" maxOccurs="unbounded" />
290 </xs:sequence>
291 <xs:attribute name="name" type="xs:NCName" use="required" />
292 </xs:extension>
293 </xs:complexContent>
294 </xs:complexType>
295
296 <xs:complexType name="tService" >
297 <xs:complexContent>
298 <xs:extension base="wsdl:tExtensibleDocumented" >
299 <xs:sequence>
300 <xs:element name="port" type="wsdl:tPort" minOccurs="0" maxOccurs="unbounded" />
301 </xs:sequence>
302 <xs:attribute name="name" type="xs:NCName" use="required" />
303 </xs:extension>
304 </xs:complexContent>
305 </xs:complexType>
306
307 <xs:complexType name="tPort" >
308 <xs:complexContent>
309 <xs:extension base="wsdl:tExtensibleDocumented" >
310 <xs:attribute name="name" type="xs:NCName" use="required" />
311 <xs:attribute name="binding" type="xs:QName" use="required" />
312 </xs:extension>
313 </xs:complexContent>
314 </xs:complexType>
315
316 <xs:attribute name="arrayType" type="xs:string" />
317 <xs:attribute name="required" type="xs:boolean" />
318 <xs:complexType name="tExtensibilityElement" abstract="true" >
319 <xs:attribute ref="wsdl:required" use="optional" />
320 </xs:complexType>
321
322</xs:schema>