Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 146 lines (123 sloc) 5.618 kb
08cee94 @kalski added soap12 capability
kalski authored
1 <!-- Schema defined in the SOAP Version 1.2 Part 1 specification
2 Recommendation:
3 http://www.w3.org/TR/2003/REC-soap12-part1-20030624/
4 $Id: soap-envelope.xsd,v 1.2 2006/12/20 20:43:36 ylafon 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 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2003/05/soap-envelope" targetNamespace="http://www.w3.org/2003/05/soap-envelope" elementFormDefault="qualified">
18
19 <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
20
21 <!-- Envelope, header and body -->
22 <xs:element name="Envelope" type="tns:Envelope"/>
23 <xs:complexType name="Envelope">
24 <xs:sequence>
25 <xs:element ref="tns:Header" minOccurs="0"/>
26 <xs:element ref="tns:Body" minOccurs="1"/>
27 </xs:sequence>
28 <xs:anyAttribute namespace="##other" processContents="lax"/>
29 </xs:complexType>
30
31 <xs:element name="Header" type="tns:Header"/>
32 <xs:complexType name="Header">
33 <xs:annotation>
34 <xs:documentation>
35 Elements replacing the wildcard MUST be namespace qualified, but can be in the targetNamespace
36 </xs:documentation>
37 </xs:annotation>
38 <xs:sequence>
39 <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
40 </xs:sequence>
41 <xs:anyAttribute namespace="##other" processContents="lax"/>
42 </xs:complexType>
43
44 <xs:element name="Body" type="tns:Body"/>
45 <xs:complexType name="Body">
46 <xs:sequence>
47 <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
48 </xs:sequence>
49 <xs:anyAttribute namespace="##other" processContents="lax"/>
50 </xs:complexType>
51
52 <!-- Global Attributes. The following attributes are intended to be
53 usable via qualified attribute names on any complex type referencing
54 them. -->
55 <xs:attribute name="mustUnderstand" type="xs:boolean" default="0"/>
56 <xs:attribute name="relay" type="xs:boolean" default="0"/>
57 <xs:attribute name="role" type="xs:anyURI"/>
58
59 <!-- 'encodingStyle' indicates any canonicalization conventions
60 followed in the contents of the containing element. For example, the
61 value 'http://www.w3.org/2003/05/soap-encoding' indicates the pattern
62 described in the SOAP Version 1.2 Part 2: Adjuncts Recommendation -->
63
64 <xs:attribute name="encodingStyle" type="xs:anyURI"/>
65
66 <xs:element name="Fault" type="tns:Fault"/>
67 <xs:complexType name="Fault" final="extension">
68 <xs:annotation>
69 <xs:documentation>
70 Fault reporting structure
71 </xs:documentation>
72 </xs:annotation>
73 <xs:sequence>
74 <xs:element name="Code" type="tns:faultcode"/>
75 <xs:element name="Reason" type="tns:faultreason"/>
76 <xs:element name="Node" type="xs:anyURI" minOccurs="0"/>
77 <xs:element name="Role" type="xs:anyURI" minOccurs="0"/>
78 <xs:element name="Detail" type="tns:detail" minOccurs="0"/>
79 </xs:sequence>
80 </xs:complexType>
81
82 <xs:complexType name="faultreason">
83 <xs:sequence>
84 <xs:element name="Text" type="tns:reasontext" minOccurs="1" maxOccurs="unbounded"/>
85 </xs:sequence>
86 </xs:complexType>
87
88 <xs:complexType name="reasontext">
89 <xs:simpleContent>
90 <xs:extension base="xs:string">
91 <xs:attribute ref="xml:lang" use="required"/>
92 </xs:extension>
93 </xs:simpleContent>
94 </xs:complexType>
95
96 <xs:complexType name="faultcode">
97 <xs:sequence>
98 <xs:element name="Value" type="tns:faultcodeEnum"/>
99 <xs:element name="Subcode" type="tns:subcode" minOccurs="0"/>
100 </xs:sequence>
101 </xs:complexType>
102
103 <xs:simpleType name="faultcodeEnum">
104 <xs:restriction base="xs:QName">
105 <xs:enumeration value="tns:DataEncodingUnknown"/>
106 <xs:enumeration value="tns:MustUnderstand"/>
107 <xs:enumeration value="tns:Receiver"/>
108 <xs:enumeration value="tns:Sender"/>
109 <xs:enumeration value="tns:VersionMismatch"/>
110 </xs:restriction>
111 </xs:simpleType>
112
113 <xs:complexType name="subcode">
114 <xs:sequence>
115 <xs:element name="Value" type="xs:QName"/>
116 <xs:element name="Subcode" type="tns:subcode" minOccurs="0"/>
117 </xs:sequence>
118 </xs:complexType>
119
120 <xs:complexType name="detail">
121 <xs:sequence>
122 <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
123 </xs:sequence>
124 <xs:anyAttribute namespace="##other" processContents="lax"/>
125 </xs:complexType>
126
127 <!-- Global element declaration and complex type definition for header entry returned due to a mustUnderstand fault -->
128 <xs:element name="NotUnderstood" type="tns:NotUnderstoodType"/>
129 <xs:complexType name="NotUnderstoodType">
130 <xs:attribute name="qname" type="xs:QName" use="required"/>
131 </xs:complexType>
132
133
134 <!-- Global element and associated types for managing version transition as described in Appendix A of the SOAP Version 1.2 Part 1 Recommendation --> <xs:complexType name="SupportedEnvType">
135 <xs:attribute name="qname" type="xs:QName" use="required"/>
136 </xs:complexType>
137
138 <xs:element name="Upgrade" type="tns:UpgradeType"/>
139 <xs:complexType name="UpgradeType">
140 <xs:sequence>
141 <xs:element name="SupportedEnvelope" type="tns:SupportedEnvType" minOccurs="1" maxOccurs="unbounded"/>
142 </xs:sequence>
143 </xs:complexType>
144
145
146 </xs:schema>
Something went wrong with that request. Please try again.