wsdlpull svntrunk
Loading...
Searching...
No Matches
soap-encoding.xsd
Go to the documentation of this file.
1<?xml version='1.0' encoding='UTF-8' ?>
2
3<!-- Schema for the SOAP/1.1 encoding
4
5 This schema has been produced using W3C's SOAP Version 1.2 schema
6 found at:
7
8 http://www.w3.org/2001/06/soap-encoding
9
10 Copyright 2001 Martin Gudgin, Developmentor.
11 http://www.develop.co.uk
12
13 Changes made are the following:
14 - reverted namespace to http://schemas.xmlsoap.org/soap/encoding/
15 - reverted root to only allow 0 and 1 as lexical values
16
17 Further changes:
18
19 - removed default value from root attribute declaration - 20030314
20
21 Original copyright:
22
23 Copyright 2001 W3C (Massachusetts Institute of Technology,
24 Institut National de Recherche en Informatique et en Automatique,
25 Keio University). All Rights Reserved.
26 http://www.w3.org/Consortium/Legal/
27
28 This document is governed by the W3C Software License [1] as
29 described in the FAQ [2].
30
31 [1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
32 [2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
33-->
34<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
35 xmlns:tns="http://schemas.xmlsoap.org/soap/encoding/"
36 targetNamespace="http://schemas.xmlsoap.org/soap/encoding/" >
37
38 <xs:attribute name="root" >
39 <xs:annotation>
40 <xs:documentation>
41 'root' can be used to distinguish serialization roots from other
42 elements that are present in a serialization but are not roots of
43 a serialized value graph
44 </xs:documentation>
45 </xs:annotation>
46 <xs:simpleType>
47 <xs:restriction base='xs:boolean'>
48 <xs:pattern value='0|1' />
49 </xs:restriction>
50 </xs:simpleType>
51 </xs:attribute>
52
53 <xs:attributeGroup name="commonAttributes" >
54 <xs:annotation>
55 <xs:documentation>
56 Attributes common to all elements that function as accessors or
57 represent independent (multi-ref) values. The href attribute is
58 intended to be used in a manner like CONREF. That is, the element
59 content should be empty iff the href attribute appears
60 </xs:documentation>
61 </xs:annotation>
62 <xs:attribute name="id" type="xs:ID" />
63 <xs:attribute name="href" type="xs:anyURI" />
64 <xs:anyAttribute namespace="##other" processContents="lax" />
65 </xs:attributeGroup>
66
67 <!-- Global Attributes. The following attributes are intended to be usable via qualified attribute names on any complex type referencing them. -->
68
69 <!-- Array attributes. Needed to give the type and dimensions of an array's contents, and the offset for partially-transmitted arrays. -->
70
71 <xs:simpleType name="arrayCoordinate" >
72 <xs:restriction base="xs:string" />
73 </xs:simpleType>
74
75 <xs:attribute name="arrayType" type="xs:string" />
76 <xs:attribute name="offset" type="tns:arrayCoordinate" />
77
78 <xs:attributeGroup name="arrayAttributes" >
79 <xs:attribute ref="tns:arrayType" />
80 <xs:attribute ref="tns:offset" />
81 </xs:attributeGroup>
82
83 <xs:attribute name="position" type="tns:arrayCoordinate" />
84
85 <xs:attributeGroup name="arrayMemberAttributes" >
86 <xs:attribute ref="tns:position" />
87 </xs:attributeGroup>
88
89 <xs:group name="Array" >
90 <xs:sequence>
91 <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
92 </xs:sequence>
93 </xs:group>
94
95 <xs:element name="Array" type="tns:Array" />
96 <xs:complexType name="Array" >
97 <xs:annotation>
98 <xs:documentation>
99 'Array' is a complex type for accessors identified by position
100 </xs:documentation>
101 </xs:annotation>
102 <xs:group ref="tns:Array" minOccurs="0" />
103 <xs:attributeGroup ref="tns:arrayAttributes" />
104 <xs:attributeGroup ref="tns:commonAttributes" />
105 </xs:complexType>
106
107 <!-- 'Struct' is a complex type for accessors identified by name.
108 Constraint: No element may be have the same name as any other,
109 nor may any element have a maxOccurs > 1. -->
110
111 <xs:element name="Struct" type="tns:Struct" />
112
113 <xs:group name="Struct" >
114 <xs:sequence>
115 <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
116 </xs:sequence>
117 </xs:group>
118
119 <xs:complexType name="Struct" >
120 <xs:group ref="tns:Struct" minOccurs="0" />
121 <xs:attributeGroup ref="tns:commonAttributes"/>
122 </xs:complexType>
123
124 <!-- 'Base64' can be used to serialize binary data using base64 encoding
125 as defined in RFC2045 but without the MIME line length limitation. -->
126
127 <xs:simpleType name="base64" >
128 <xs:restriction base="xs:base64Binary" />
129 </xs:simpleType>
130
131 <!-- Element declarations corresponding to each of the simple types in the
132 XML Schemas Specification. -->
133
134 <xs:element name="duration" type="tns:duration" />
135 <xs:complexType name="duration" >
136 <xs:simpleContent>
137 <xs:extension base="xs:duration" >
138 <xs:attributeGroup ref="tns:commonAttributes" />
139 </xs:extension>
140 </xs:simpleContent>
141 </xs:complexType>
142
143 <xs:element name="dateTime" type="tns:dateTime" />
144 <xs:complexType name="dateTime" >
145 <xs:simpleContent>
146 <xs:extension base="xs:dateTime" >
147 <xs:attributeGroup ref="tns:commonAttributes" />
148 </xs:extension>
149 </xs:simpleContent>
150 </xs:complexType>
151
152
153
154 <xs:element name="NOTATION" type="tns:NOTATION" />
155 <xs:complexType name="NOTATION" >
156 <xs:simpleContent>
157 <xs:extension base="xs:QName" >
158 <xs:attributeGroup ref="tns:commonAttributes" />
159 </xs:extension>
160 </xs:simpleContent>
161 </xs:complexType>
162
163
164 <xs:element name="time" type="tns:time" />
165 <xs:complexType name="time" >
166 <xs:simpleContent>
167 <xs:extension base="xs:time" >
168 <xs:attributeGroup ref="tns:commonAttributes" />
169 </xs:extension>
170 </xs:simpleContent>
171 </xs:complexType>
172
173 <xs:element name="date" type="tns:date" />
174 <xs:complexType name="date" >
175 <xs:simpleContent>
176 <xs:extension base="xs:date" >
177 <xs:attributeGroup ref="tns:commonAttributes" />
178 </xs:extension>
179 </xs:simpleContent>
180 </xs:complexType>
181
182 <xs:element name="gYearMonth" type="tns:gYearMonth" />
183 <xs:complexType name="gYearMonth" >
184 <xs:simpleContent>
185 <xs:extension base="xs:gYearMonth" >
186 <xs:attributeGroup ref="tns:commonAttributes" />
187 </xs:extension>
188 </xs:simpleContent>
189 </xs:complexType>
190
191 <xs:element name="gYear" type="tns:gYear" />
192 <xs:complexType name="gYear" >
193 <xs:simpleContent>
194 <xs:extension base="xs:gYear" >
195 <xs:attributeGroup ref="tns:commonAttributes" />
196 </xs:extension>
197 </xs:simpleContent>
198 </xs:complexType>
199
200 <xs:element name="gMonthDay" type="tns:gMonthDay" />
201 <xs:complexType name="gMonthDay" >
202 <xs:simpleContent>
203 <xs:extension base="xs:gMonthDay" >
204 <xs:attributeGroup ref="tns:commonAttributes" />
205 </xs:extension>
206 </xs:simpleContent>
207 </xs:complexType>
208
209 <xs:element name="gDay" type="tns:gDay" />
210 <xs:complexType name="gDay" >
211 <xs:simpleContent>
212 <xs:extension base="xs:gDay" >
213 <xs:attributeGroup ref="tns:commonAttributes" />
214 </xs:extension>
215 </xs:simpleContent>
216 </xs:complexType>
217
218 <xs:element name="gMonth" type="tns:gMonth" />
219 <xs:complexType name="gMonth" >
220 <xs:simpleContent>
221 <xs:extension base="xs:gMonth" >
222 <xs:attributeGroup ref="tns:commonAttributes" />
223 </xs:extension>
224 </xs:simpleContent>
225 </xs:complexType>
226
227 <xs:element name="boolean" type="tns:boolean" />
228 <xs:complexType name="boolean" >
229 <xs:simpleContent>
230 <xs:extension base="xs:boolean" >
231 <xs:attributeGroup ref="tns:commonAttributes" />
232 </xs:extension>
233 </xs:simpleContent>
234 </xs:complexType>
235
236 <xs:element name="base64Binary" type="tns:base64Binary" />
237 <xs:complexType name="base64Binary" >
238 <xs:simpleContent>
239 <xs:extension base="xs:base64Binary" >
240 <xs:attributeGroup ref="tns:commonAttributes" />
241 </xs:extension>
242 </xs:simpleContent>
243 </xs:complexType>
244
245 <xs:element name="hexBinary" type="tns:hexBinary" />
246 <xs:complexType name="hexBinary" >
247 <xs:simpleContent>
248 <xs:extension base="xs:hexBinary" >
249 <xs:attributeGroup ref="tns:commonAttributes" />
250 </xs:extension>
251 </xs:simpleContent>
252 </xs:complexType>
253
254 <xs:element name="float" type="tns:float" />
255 <xs:complexType name="float" >
256 <xs:simpleContent>
257 <xs:extension base="xs:float" >
258 <xs:attributeGroup ref="tns:commonAttributes" />
259 </xs:extension>
260 </xs:simpleContent>
261 </xs:complexType>
262
263 <xs:element name="double" type="tns:double" />
264 <xs:complexType name="double" >
265 <xs:simpleContent>
266 <xs:extension base="xs:double" >
267 <xs:attributeGroup ref="tns:commonAttributes" />
268 </xs:extension>
269 </xs:simpleContent>
270 </xs:complexType>
271
272 <xs:element name="anyURI" type="tns:anyURI" />
273 <xs:complexType name="anyURI" >
274 <xs:simpleContent>
275 <xs:extension base="xs:anyURI" >
276 <xs:attributeGroup ref="tns:commonAttributes" />
277 </xs:extension>
278 </xs:simpleContent>
279 </xs:complexType>
280
281 <xs:element name="QName" type="tns:QName" />
282 <xs:complexType name="QName" >
283 <xs:simpleContent>
284 <xs:extension base="xs:QName" >
285 <xs:attributeGroup ref="tns:commonAttributes" />
286 </xs:extension>
287 </xs:simpleContent>
288 </xs:complexType>
289
290
291 <xs:element name="string" type="tns:string" />
292 <xs:complexType name="string" >
293 <xs:simpleContent>
294 <xs:extension base="xs:string" >
295 <xs:attributeGroup ref="tns:commonAttributes" />
296 </xs:extension>
297 </xs:simpleContent>
298 </xs:complexType>
299
300 <xs:element name="normalizedString" type="tns:normalizedString" />
301 <xs:complexType name="normalizedString" >
302 <xs:simpleContent>
303 <xs:extension base="xs:normalizedString" >
304 <xs:attributeGroup ref="tns:commonAttributes" />
305 </xs:extension>
306 </xs:simpleContent>
307 </xs:complexType>
308
309 <xs:element name="token" type="tns:token" />
310 <xs:complexType name="token" >
311 <xs:simpleContent>
312 <xs:extension base="xs:token" >
313 <xs:attributeGroup ref="tns:commonAttributes" />
314 </xs:extension>
315 </xs:simpleContent>
316 </xs:complexType>
317
318 <xs:element name="language" type="tns:language" />
319 <xs:complexType name="language" >
320 <xs:simpleContent>
321 <xs:extension base="xs:language" >
322 <xs:attributeGroup ref="tns:commonAttributes" />
323 </xs:extension>
324 </xs:simpleContent>
325 </xs:complexType>
326
327 <xs:element name="Name" type="tns:Name" />
328 <xs:complexType name="Name" >
329 <xs:simpleContent>
330 <xs:extension base="xs:Name" >
331 <xs:attributeGroup ref="tns:commonAttributes" />
332 </xs:extension>
333 </xs:simpleContent>
334 </xs:complexType>
335
336 <xs:element name="NMTOKEN" type="tns:NMTOKEN" />
337 <xs:complexType name="NMTOKEN" >
338 <xs:simpleContent>
339 <xs:extension base="xs:NMTOKEN" >
340 <xs:attributeGroup ref="tns:commonAttributes" />
341 </xs:extension>
342 </xs:simpleContent>
343 </xs:complexType>
344
345 <xs:element name="NCName" type="tns:NCName" />
346 <xs:complexType name="NCName" >
347 <xs:simpleContent>
348 <xs:extension base="xs:NCName" >
349 <xs:attributeGroup ref="tns:commonAttributes" />
350 </xs:extension>
351 </xs:simpleContent>
352 </xs:complexType>
353
354 <xs:element name="NMTOKENS" type="tns:NMTOKENS" />
355 <xs:complexType name="NMTOKENS" >
356 <xs:simpleContent>
357 <xs:extension base="xs:NMTOKENS" >
358 <xs:attributeGroup ref="tns:commonAttributes" />
359 </xs:extension>
360 </xs:simpleContent>
361 </xs:complexType>
362
363 <xs:element name="ID" type="tns:ID" />
364 <xs:complexType name="ID" >
365 <xs:simpleContent>
366 <xs:extension base="xs:ID" >
367 <xs:attributeGroup ref="tns:commonAttributes" />
368 </xs:extension>
369 </xs:simpleContent>
370 </xs:complexType>
371
372 <xs:element name="IDREF" type="tns:IDREF" />
373 <xs:complexType name="IDREF" >
374 <xs:simpleContent>
375 <xs:extension base="xs:IDREF" >
376 <xs:attributeGroup ref="tns:commonAttributes" />
377 </xs:extension>
378 </xs:simpleContent>
379 </xs:complexType>
380
381 <xs:element name="ENTITY" type="tns:ENTITY" />
382 <xs:complexType name="ENTITY" >
383 <xs:simpleContent>
384 <xs:extension base="xs:ENTITY" >
385 <xs:attributeGroup ref="tns:commonAttributes" />
386 </xs:extension>
387 </xs:simpleContent>
388 </xs:complexType>
389
390 <xs:element name="IDREFS" type="tns:IDREFS" />
391 <xs:complexType name="IDREFS" >
392 <xs:simpleContent>
393 <xs:extension base="xs:IDREFS" >
394 <xs:attributeGroup ref="tns:commonAttributes" />
395 </xs:extension>
396 </xs:simpleContent>
397 </xs:complexType>
398
399 <xs:element name="ENTITIES" type="tns:ENTITIES" />
400 <xs:complexType name="ENTITIES" >
401 <xs:simpleContent>
402 <xs:extension base="xs:ENTITIES" >
403 <xs:attributeGroup ref="tns:commonAttributes" />
404 </xs:extension>
405 </xs:simpleContent>
406 </xs:complexType>
407
408 <xs:element name="decimal" type="tns:decimal" />
409 <xs:complexType name="decimal" >
410 <xs:simpleContent>
411 <xs:extension base="xs:decimal" >
412 <xs:attributeGroup ref="tns:commonAttributes" />
413 </xs:extension>
414 </xs:simpleContent>
415 </xs:complexType>
416
417 <xs:element name="integer" type="tns:integer" />
418 <xs:complexType name="integer" >
419 <xs:simpleContent>
420 <xs:extension base="xs:integer" >
421 <xs:attributeGroup ref="tns:commonAttributes" />
422 </xs:extension>
423 </xs:simpleContent>
424 </xs:complexType>
425
426 <xs:element name="nonPositiveInteger" type="tns:nonPositiveInteger" />
427 <xs:complexType name="nonPositiveInteger" >
428 <xs:simpleContent>
429 <xs:extension base="xs:nonPositiveInteger" >
430 <xs:attributeGroup ref="tns:commonAttributes" />
431 </xs:extension>
432 </xs:simpleContent>
433 </xs:complexType>
434
435 <xs:element name="negativeInteger" type="tns:negativeInteger" />
436 <xs:complexType name="negativeInteger" >
437 <xs:simpleContent>
438 <xs:extension base="xs:negativeInteger" >
439 <xs:attributeGroup ref="tns:commonAttributes" />
440 </xs:extension>
441 </xs:simpleContent>
442 </xs:complexType>
443
444 <xs:element name="long" type="tns:long" />
445 <xs:complexType name="long" >
446 <xs:simpleContent>
447 <xs:extension base="xs:long" >
448 <xs:attributeGroup ref="tns:commonAttributes" />
449 </xs:extension>
450 </xs:simpleContent>
451 </xs:complexType>
452
453 <xs:element name="int" type="tns:int" />
454 <xs:complexType name="int" >
455 <xs:simpleContent>
456 <xs:extension base="xs:int" >
457 <xs:attributeGroup ref="tns:commonAttributes" />
458 </xs:extension>
459 </xs:simpleContent>
460 </xs:complexType>
461
462 <xs:element name="short" type="tns:short" />
463 <xs:complexType name="short" >
464 <xs:simpleContent>
465 <xs:extension base="xs:short" >
466 <xs:attributeGroup ref="tns:commonAttributes" />
467 </xs:extension>
468 </xs:simpleContent>
469 </xs:complexType>
470
471 <xs:element name="byte" type="tns:byte" />
472 <xs:complexType name="byte" >
473 <xs:simpleContent>
474 <xs:extension base="xs:byte" >
475 <xs:attributeGroup ref="tns:commonAttributes" />
476 </xs:extension>
477 </xs:simpleContent>
478 </xs:complexType>
479
480 <xs:element name="nonNegativeInteger" type="tns:nonNegativeInteger" />
481 <xs:complexType name="nonNegativeInteger" >
482 <xs:simpleContent>
483 <xs:extension base="xs:nonNegativeInteger" >
484 <xs:attributeGroup ref="tns:commonAttributes" />
485 </xs:extension>
486 </xs:simpleContent>
487 </xs:complexType>
488
489 <xs:element name="unsignedLong" type="tns:unsignedLong" />
490 <xs:complexType name="unsignedLong" >
491 <xs:simpleContent>
492 <xs:extension base="xs:unsignedLong" >
493 <xs:attributeGroup ref="tns:commonAttributes" />
494 </xs:extension>
495 </xs:simpleContent>
496 </xs:complexType>
497
498 <xs:element name="unsignedInt" type="tns:unsignedInt" />
499 <xs:complexType name="unsignedInt" >
500 <xs:simpleContent>
501 <xs:extension base="xs:unsignedInt" >
502 <xs:attributeGroup ref="tns:commonAttributes" />
503 </xs:extension>
504 </xs:simpleContent>
505 </xs:complexType>
506
507 <xs:element name="unsignedShort" type="tns:unsignedShort" />
508 <xs:complexType name="unsignedShort" >
509 <xs:simpleContent>
510 <xs:extension base="xs:unsignedShort" >
511 <xs:attributeGroup ref="tns:commonAttributes" />
512 </xs:extension>
513 </xs:simpleContent>
514 </xs:complexType>
515
516 <xs:element name="unsignedByte" type="tns:unsignedByte" />
517 <xs:complexType name="unsignedByte" >
518 <xs:simpleContent>
519 <xs:extension base="xs:unsignedByte" >
520 <xs:attributeGroup ref="tns:commonAttributes" />
521 </xs:extension>
522 </xs:simpleContent>
523 </xs:complexType>
524
525 <xs:element name="positiveInteger" type="tns:positiveInteger" />
526 <xs:complexType name="positiveInteger" >
527 <xs:simpleContent>
528 <xs:extension base="xs:positiveInteger" >
529 <xs:attributeGroup ref="tns:commonAttributes" />
530 </xs:extension>
531 </xs:simpleContent>
532 </xs:complexType>
533
534 <xs:element name="anyType" />
535</xs:schema>
536