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