saml2 3.1.3 → 3.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/saml2/version.rb +1 -1
- data/schemas/MetadataExchange.xsd +112 -0
- data/schemas/metadata_combined.xsd +14 -0
- data/schemas/oasis-200401-wss-wssecurity-secext-1.0.xsd +195 -0
- data/schemas/oasis-200401-wss-wssecurity-utility-1.0.xsd +108 -0
- data/schemas/saml-schema-assertion-2.0.xsd +283 -0
- data/schemas/saml-schema-metadata-2.0.xsd +339 -0
- data/schemas/saml-schema-protocol-2.0.xsd +302 -0
- data/schemas/sstc-saml-metadata-algsupport-v1.0.xsd +54 -0
- data/schemas/sstc-saml-metadata-ext-query.xsd +66 -0
- data/schemas/ws-addr.xsd +137 -0
- data/schemas/ws-authorization.xsd +145 -0
- data/schemas/ws-federation.xsd +471 -0
- data/schemas/ws-securitypolicy-1.2.xsd +1205 -0
- data/schemas/xenc-schema.xsd +136 -0
- data/schemas/xml.xsd +287 -0
- data/schemas/xmldsig-core-schema.xsd +309 -0
- metadata +19 -3
@@ -0,0 +1,302 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<schema
|
3
|
+
targetNamespace="urn:oasis:names:tc:SAML:2.0:protocol"
|
4
|
+
xmlns="http://www.w3.org/2001/XMLSchema"
|
5
|
+
xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
|
6
|
+
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
|
7
|
+
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
|
8
|
+
elementFormDefault="unqualified"
|
9
|
+
attributeFormDefault="unqualified"
|
10
|
+
blockDefault="substitution"
|
11
|
+
version="2.0">
|
12
|
+
<import namespace="urn:oasis:names:tc:SAML:2.0:assertion"
|
13
|
+
schemaLocation="saml-schema-assertion-2.0.xsd"/>
|
14
|
+
<import namespace="http://www.w3.org/2000/09/xmldsig#"
|
15
|
+
schemaLocation="xmldsig-core-schema.xsd"/>
|
16
|
+
<annotation>
|
17
|
+
<documentation>
|
18
|
+
Document identifier: saml-schema-protocol-2.0
|
19
|
+
Location: http://docs.oasis-open.org/security/saml/v2.0/
|
20
|
+
Revision history:
|
21
|
+
V1.0 (November, 2002):
|
22
|
+
Initial Standard Schema.
|
23
|
+
V1.1 (September, 2003):
|
24
|
+
Updates within the same V1.0 namespace.
|
25
|
+
V2.0 (March, 2005):
|
26
|
+
New protocol schema based in a SAML V2.0 namespace.
|
27
|
+
</documentation>
|
28
|
+
</annotation>
|
29
|
+
<complexType name="RequestAbstractType" abstract="true">
|
30
|
+
<sequence>
|
31
|
+
<element ref="saml:Issuer" minOccurs="0"/>
|
32
|
+
<element ref="ds:Signature" minOccurs="0"/>
|
33
|
+
<element ref="samlp:Extensions" minOccurs="0"/>
|
34
|
+
</sequence>
|
35
|
+
<attribute name="ID" type="ID" use="required"/>
|
36
|
+
<attribute name="Version" type="string" use="required"/>
|
37
|
+
<attribute name="IssueInstant" type="dateTime" use="required"/>
|
38
|
+
<attribute name="Destination" type="anyURI" use="optional"/>
|
39
|
+
<attribute name="Consent" type="anyURI" use="optional"/>
|
40
|
+
</complexType>
|
41
|
+
<element name="Extensions" type="samlp:ExtensionsType"/>
|
42
|
+
<complexType name="ExtensionsType">
|
43
|
+
<sequence>
|
44
|
+
<any namespace="##other" processContents="lax" maxOccurs="unbounded"/>
|
45
|
+
</sequence>
|
46
|
+
</complexType>
|
47
|
+
<complexType name="StatusResponseType">
|
48
|
+
<sequence>
|
49
|
+
<element ref="saml:Issuer" minOccurs="0"/>
|
50
|
+
<element ref="ds:Signature" minOccurs="0"/>
|
51
|
+
<element ref="samlp:Extensions" minOccurs="0"/>
|
52
|
+
<element ref="samlp:Status"/>
|
53
|
+
</sequence>
|
54
|
+
<attribute name="ID" type="ID" use="required"/>
|
55
|
+
<attribute name="InResponseTo" type="NCName" use="optional"/>
|
56
|
+
<attribute name="Version" type="string" use="required"/>
|
57
|
+
<attribute name="IssueInstant" type="dateTime" use="required"/>
|
58
|
+
<attribute name="Destination" type="anyURI" use="optional"/>
|
59
|
+
<attribute name="Consent" type="anyURI" use="optional"/>
|
60
|
+
</complexType>
|
61
|
+
<element name="Status" type="samlp:StatusType"/>
|
62
|
+
<complexType name="StatusType">
|
63
|
+
<sequence>
|
64
|
+
<element ref="samlp:StatusCode"/>
|
65
|
+
<element ref="samlp:StatusMessage" minOccurs="0"/>
|
66
|
+
<element ref="samlp:StatusDetail" minOccurs="0"/>
|
67
|
+
</sequence>
|
68
|
+
</complexType>
|
69
|
+
<element name="StatusCode" type="samlp:StatusCodeType"/>
|
70
|
+
<complexType name="StatusCodeType">
|
71
|
+
<sequence>
|
72
|
+
<element ref="samlp:StatusCode" minOccurs="0"/>
|
73
|
+
</sequence>
|
74
|
+
<attribute name="Value" type="anyURI" use="required"/>
|
75
|
+
</complexType>
|
76
|
+
<element name="StatusMessage" type="string"/>
|
77
|
+
<element name="StatusDetail" type="samlp:StatusDetailType"/>
|
78
|
+
<complexType name="StatusDetailType">
|
79
|
+
<sequence>
|
80
|
+
<any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
|
81
|
+
</sequence>
|
82
|
+
</complexType>
|
83
|
+
<element name="AssertionIDRequest" type="samlp:AssertionIDRequestType"/>
|
84
|
+
<complexType name="AssertionIDRequestType">
|
85
|
+
<complexContent>
|
86
|
+
<extension base="samlp:RequestAbstractType">
|
87
|
+
<sequence>
|
88
|
+
<element ref="saml:AssertionIDRef" maxOccurs="unbounded"/>
|
89
|
+
</sequence>
|
90
|
+
</extension>
|
91
|
+
</complexContent>
|
92
|
+
</complexType>
|
93
|
+
<element name="SubjectQuery" type="samlp:SubjectQueryAbstractType"/>
|
94
|
+
<complexType name="SubjectQueryAbstractType" abstract="true">
|
95
|
+
<complexContent>
|
96
|
+
<extension base="samlp:RequestAbstractType">
|
97
|
+
<sequence>
|
98
|
+
<element ref="saml:Subject"/>
|
99
|
+
</sequence>
|
100
|
+
</extension>
|
101
|
+
</complexContent>
|
102
|
+
</complexType>
|
103
|
+
<element name="AuthnQuery" type="samlp:AuthnQueryType"/>
|
104
|
+
<complexType name="AuthnQueryType">
|
105
|
+
<complexContent>
|
106
|
+
<extension base="samlp:SubjectQueryAbstractType">
|
107
|
+
<sequence>
|
108
|
+
<element ref="samlp:RequestedAuthnContext" minOccurs="0"/>
|
109
|
+
</sequence>
|
110
|
+
<attribute name="SessionIndex" type="string" use="optional"/>
|
111
|
+
</extension>
|
112
|
+
</complexContent>
|
113
|
+
</complexType>
|
114
|
+
<element name="RequestedAuthnContext" type="samlp:RequestedAuthnContextType"/>
|
115
|
+
<complexType name="RequestedAuthnContextType">
|
116
|
+
<choice>
|
117
|
+
<element ref="saml:AuthnContextClassRef" maxOccurs="unbounded"/>
|
118
|
+
<element ref="saml:AuthnContextDeclRef" maxOccurs="unbounded"/>
|
119
|
+
</choice>
|
120
|
+
<attribute name="Comparison" type="samlp:AuthnContextComparisonType" use="optional"/>
|
121
|
+
</complexType>
|
122
|
+
<simpleType name="AuthnContextComparisonType">
|
123
|
+
<restriction base="string">
|
124
|
+
<enumeration value="exact"/>
|
125
|
+
<enumeration value="minimum"/>
|
126
|
+
<enumeration value="maximum"/>
|
127
|
+
<enumeration value="better"/>
|
128
|
+
</restriction>
|
129
|
+
</simpleType>
|
130
|
+
<element name="AttributeQuery" type="samlp:AttributeQueryType"/>
|
131
|
+
<complexType name="AttributeQueryType">
|
132
|
+
<complexContent>
|
133
|
+
<extension base="samlp:SubjectQueryAbstractType">
|
134
|
+
<sequence>
|
135
|
+
<element ref="saml:Attribute" minOccurs="0" maxOccurs="unbounded"/>
|
136
|
+
</sequence>
|
137
|
+
</extension>
|
138
|
+
</complexContent>
|
139
|
+
</complexType>
|
140
|
+
<element name="AuthzDecisionQuery" type="samlp:AuthzDecisionQueryType"/>
|
141
|
+
<complexType name="AuthzDecisionQueryType">
|
142
|
+
<complexContent>
|
143
|
+
<extension base="samlp:SubjectQueryAbstractType">
|
144
|
+
<sequence>
|
145
|
+
<element ref="saml:Action" maxOccurs="unbounded"/>
|
146
|
+
<element ref="saml:Evidence" minOccurs="0"/>
|
147
|
+
</sequence>
|
148
|
+
<attribute name="Resource" type="anyURI" use="required"/>
|
149
|
+
</extension>
|
150
|
+
</complexContent>
|
151
|
+
</complexType>
|
152
|
+
<element name="AuthnRequest" type="samlp:AuthnRequestType"/>
|
153
|
+
<complexType name="AuthnRequestType">
|
154
|
+
<complexContent>
|
155
|
+
<extension base="samlp:RequestAbstractType">
|
156
|
+
<sequence>
|
157
|
+
<element ref="saml:Subject" minOccurs="0"/>
|
158
|
+
<element ref="samlp:NameIDPolicy" minOccurs="0"/>
|
159
|
+
<element ref="saml:Conditions" minOccurs="0"/>
|
160
|
+
<element ref="samlp:RequestedAuthnContext" minOccurs="0"/>
|
161
|
+
<element ref="samlp:Scoping" minOccurs="0"/>
|
162
|
+
</sequence>
|
163
|
+
<attribute name="ForceAuthn" type="boolean" use="optional"/>
|
164
|
+
<attribute name="IsPassive" type="boolean" use="optional"/>
|
165
|
+
<attribute name="ProtocolBinding" type="anyURI" use="optional"/>
|
166
|
+
<attribute name="AssertionConsumerServiceIndex" type="unsignedShort" use="optional"/>
|
167
|
+
<attribute name="AssertionConsumerServiceURL" type="anyURI" use="optional"/>
|
168
|
+
<attribute name="AttributeConsumingServiceIndex" type="unsignedShort" use="optional"/>
|
169
|
+
<attribute name="ProviderName" type="string" use="optional"/>
|
170
|
+
</extension>
|
171
|
+
</complexContent>
|
172
|
+
</complexType>
|
173
|
+
<element name="NameIDPolicy" type="samlp:NameIDPolicyType"/>
|
174
|
+
<complexType name="NameIDPolicyType">
|
175
|
+
<attribute name="Format" type="anyURI" use="optional"/>
|
176
|
+
<attribute name="SPNameQualifier" type="string" use="optional"/>
|
177
|
+
<attribute name="AllowCreate" type="boolean" use="optional"/>
|
178
|
+
</complexType>
|
179
|
+
<element name="Scoping" type="samlp:ScopingType"/>
|
180
|
+
<complexType name="ScopingType">
|
181
|
+
<sequence>
|
182
|
+
<element ref="samlp:IDPList" minOccurs="0"/>
|
183
|
+
<element ref="samlp:RequesterID" minOccurs="0" maxOccurs="unbounded"/>
|
184
|
+
</sequence>
|
185
|
+
<attribute name="ProxyCount" type="nonNegativeInteger" use="optional"/>
|
186
|
+
</complexType>
|
187
|
+
<element name="RequesterID" type="anyURI"/>
|
188
|
+
<element name="IDPList" type="samlp:IDPListType"/>
|
189
|
+
<complexType name="IDPListType">
|
190
|
+
<sequence>
|
191
|
+
<element ref="samlp:IDPEntry" maxOccurs="unbounded"/>
|
192
|
+
<element ref="samlp:GetComplete" minOccurs="0"/>
|
193
|
+
</sequence>
|
194
|
+
</complexType>
|
195
|
+
<element name="IDPEntry" type="samlp:IDPEntryType"/>
|
196
|
+
<complexType name="IDPEntryType">
|
197
|
+
<attribute name="ProviderID" type="anyURI" use="required"/>
|
198
|
+
<attribute name="Name" type="string" use="optional"/>
|
199
|
+
<attribute name="Loc" type="anyURI" use="optional"/>
|
200
|
+
</complexType>
|
201
|
+
<element name="GetComplete" type="anyURI"/>
|
202
|
+
<element name="Response" type="samlp:ResponseType"/>
|
203
|
+
<complexType name="ResponseType">
|
204
|
+
<complexContent>
|
205
|
+
<extension base="samlp:StatusResponseType">
|
206
|
+
<choice minOccurs="0" maxOccurs="unbounded">
|
207
|
+
<element ref="saml:Assertion"/>
|
208
|
+
<element ref="saml:EncryptedAssertion"/>
|
209
|
+
</choice>
|
210
|
+
</extension>
|
211
|
+
</complexContent>
|
212
|
+
</complexType>
|
213
|
+
<element name="ArtifactResolve" type="samlp:ArtifactResolveType"/>
|
214
|
+
<complexType name="ArtifactResolveType">
|
215
|
+
<complexContent>
|
216
|
+
<extension base="samlp:RequestAbstractType">
|
217
|
+
<sequence>
|
218
|
+
<element ref="samlp:Artifact"/>
|
219
|
+
</sequence>
|
220
|
+
</extension>
|
221
|
+
</complexContent>
|
222
|
+
</complexType>
|
223
|
+
<element name="Artifact" type="string"/>
|
224
|
+
<element name="ArtifactResponse" type="samlp:ArtifactResponseType"/>
|
225
|
+
<complexType name="ArtifactResponseType">
|
226
|
+
<complexContent>
|
227
|
+
<extension base="samlp:StatusResponseType">
|
228
|
+
<sequence>
|
229
|
+
<any namespace="##any" processContents="lax" minOccurs="0"/>
|
230
|
+
</sequence>
|
231
|
+
</extension>
|
232
|
+
</complexContent>
|
233
|
+
</complexType>
|
234
|
+
<element name="ManageNameIDRequest" type="samlp:ManageNameIDRequestType"/>
|
235
|
+
<complexType name="ManageNameIDRequestType">
|
236
|
+
<complexContent>
|
237
|
+
<extension base="samlp:RequestAbstractType">
|
238
|
+
<sequence>
|
239
|
+
<choice>
|
240
|
+
<element ref="saml:NameID"/>
|
241
|
+
<element ref="saml:EncryptedID"/>
|
242
|
+
</choice>
|
243
|
+
<choice>
|
244
|
+
<element ref="samlp:NewID"/>
|
245
|
+
<element ref="samlp:NewEncryptedID"/>
|
246
|
+
<element ref="samlp:Terminate"/>
|
247
|
+
</choice>
|
248
|
+
</sequence>
|
249
|
+
</extension>
|
250
|
+
</complexContent>
|
251
|
+
</complexType>
|
252
|
+
<element name="NewID" type="string"/>
|
253
|
+
<element name="NewEncryptedID" type="saml:EncryptedElementType"/>
|
254
|
+
<element name="Terminate" type="samlp:TerminateType"/>
|
255
|
+
<complexType name="TerminateType"/>
|
256
|
+
<element name="ManageNameIDResponse" type="samlp:StatusResponseType"/>
|
257
|
+
<element name="LogoutRequest" type="samlp:LogoutRequestType"/>
|
258
|
+
<complexType name="LogoutRequestType">
|
259
|
+
<complexContent>
|
260
|
+
<extension base="samlp:RequestAbstractType">
|
261
|
+
<sequence>
|
262
|
+
<choice>
|
263
|
+
<element ref="saml:BaseID"/>
|
264
|
+
<element ref="saml:NameID"/>
|
265
|
+
<element ref="saml:EncryptedID"/>
|
266
|
+
</choice>
|
267
|
+
<element ref="samlp:SessionIndex" minOccurs="0" maxOccurs="unbounded"/>
|
268
|
+
</sequence>
|
269
|
+
<attribute name="Reason" type="string" use="optional"/>
|
270
|
+
<attribute name="NotOnOrAfter" type="dateTime" use="optional"/>
|
271
|
+
</extension>
|
272
|
+
</complexContent>
|
273
|
+
</complexType>
|
274
|
+
<element name="SessionIndex" type="string"/>
|
275
|
+
<element name="LogoutResponse" type="samlp:StatusResponseType"/>
|
276
|
+
<element name="NameIDMappingRequest" type="samlp:NameIDMappingRequestType"/>
|
277
|
+
<complexType name="NameIDMappingRequestType">
|
278
|
+
<complexContent>
|
279
|
+
<extension base="samlp:RequestAbstractType">
|
280
|
+
<sequence>
|
281
|
+
<choice>
|
282
|
+
<element ref="saml:BaseID"/>
|
283
|
+
<element ref="saml:NameID"/>
|
284
|
+
<element ref="saml:EncryptedID"/>
|
285
|
+
</choice>
|
286
|
+
<element ref="samlp:NameIDPolicy"/>
|
287
|
+
</sequence>
|
288
|
+
</extension>
|
289
|
+
</complexContent>
|
290
|
+
</complexType>
|
291
|
+
<element name="NameIDMappingResponse" type="samlp:NameIDMappingResponseType"/>
|
292
|
+
<complexType name="NameIDMappingResponseType">
|
293
|
+
<complexContent>
|
294
|
+
<extension base="samlp:StatusResponseType">
|
295
|
+
<choice>
|
296
|
+
<element ref="saml:NameID"/>
|
297
|
+
<element ref="saml:EncryptedID"/>
|
298
|
+
</choice>
|
299
|
+
</extension>
|
300
|
+
</complexContent>
|
301
|
+
</complexType>
|
302
|
+
</schema>
|
@@ -0,0 +1,54 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
|
3
|
+
<!--
|
4
|
+
|
5
|
+
SAML v2.0 Metadata Profile for Algorithm Support Version 1.0
|
6
|
+
Committee Specification 01
|
7
|
+
21 February 2011
|
8
|
+
Copyright (c) OASIS Open 2011. All rights reserved.
|
9
|
+
Source: http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-metadata-algsupport-v1.0-cs01.xsd
|
10
|
+
|
11
|
+
-->
|
12
|
+
|
13
|
+
<schema
|
14
|
+
targetNamespace="urn:oasis:names:tc:SAML:metadata:algsupport"
|
15
|
+
xmlns="http://www.w3.org/2001/XMLSchema"
|
16
|
+
xmlns:alg="urn:oasis:names:tc:SAML:metadata:algsupport"
|
17
|
+
elementFormDefault="unqualified"
|
18
|
+
attributeFormDefault="unqualified"
|
19
|
+
blockDefault="substitution"
|
20
|
+
version="1.0">
|
21
|
+
|
22
|
+
<annotation>
|
23
|
+
<documentation>
|
24
|
+
Document title: Metadata Extension Schema for SAML V2.0 Metadata Profile for Algorithm Support Version 1.0
|
25
|
+
Document identifier: sstc-saml-metadata-algsupport.xsd
|
26
|
+
Location: http://docs.oasis-open.org/security/saml/Post2.0/
|
27
|
+
Revision history:
|
28
|
+
V1.0 (June 2010):
|
29
|
+
Initial version.
|
30
|
+
(October 2010):
|
31
|
+
Add processContents="lax" to wildcards.
|
32
|
+
</documentation>
|
33
|
+
</annotation>
|
34
|
+
|
35
|
+
<element name="DigestMethod" type="alg:DigestMethodType"/>
|
36
|
+
<complexType name="DigestMethodType">
|
37
|
+
<sequence>
|
38
|
+
<any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
|
39
|
+
</sequence>
|
40
|
+
<attribute name="Algorithm" type="anyURI" use="required"/>
|
41
|
+
</complexType>
|
42
|
+
|
43
|
+
<element name="SigningMethod" type="alg:SigningMethodType"/>
|
44
|
+
<complexType name="SigningMethodType">
|
45
|
+
<sequence>
|
46
|
+
<any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
|
47
|
+
</sequence>
|
48
|
+
<attribute name="Algorithm" type="anyURI" use="required"/>
|
49
|
+
<attribute name="MinKeySize" type="positiveInteger"/>
|
50
|
+
<attribute name="MaxKeySize" type="positiveInteger"/>
|
51
|
+
</complexType>
|
52
|
+
|
53
|
+
</schema>
|
54
|
+
|
@@ -0,0 +1,66 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
|
3
|
+
<schema
|
4
|
+
targetNamespace="urn:oasis:names:tc:SAML:metadata:ext:query"
|
5
|
+
xmlns="http://www.w3.org/2001/XMLSchema"
|
6
|
+
xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
|
7
|
+
xmlns:query="urn:oasis:names:tc:SAML:metadata:ext:query"
|
8
|
+
elementFormDefault="unqualified"
|
9
|
+
attributeFormDefault="unqualified"
|
10
|
+
blockDefault="substitution"
|
11
|
+
version="2.0">
|
12
|
+
|
13
|
+
<annotation>
|
14
|
+
<documentation>
|
15
|
+
Document title: SAML Metadata Extension Schema for SAML V2.0 and V1.x Query Requesters
|
16
|
+
Document identifier: sstc-saml-metadata-ext-query.xsd
|
17
|
+
Location: http://www.oasis-open.org/committees/documents.php?wg_abbrev=security
|
18
|
+
Revision history:
|
19
|
+
V1.0 (May 2007):
|
20
|
+
Initial version.
|
21
|
+
</documentation>
|
22
|
+
</annotation>
|
23
|
+
|
24
|
+
<import namespace="urn:oasis:names:tc:SAML:2.0:metadata"
|
25
|
+
schemaLocation="saml-schema-metadata-2.0.xsd"/>
|
26
|
+
|
27
|
+
<complexType name="QueryDescriptorType" abstract="true">
|
28
|
+
<complexContent>
|
29
|
+
<extension base="md:RoleDescriptorType">
|
30
|
+
<sequence>
|
31
|
+
<element ref="md:NameIDFormat" minOccurs="0" maxOccurs="unbounded"/>
|
32
|
+
</sequence>
|
33
|
+
<attribute name="WantAssertionsSigned" type="boolean" use="optional"/>
|
34
|
+
</extension>
|
35
|
+
</complexContent>
|
36
|
+
</complexType>
|
37
|
+
|
38
|
+
<complexType name="AuthnQueryDescriptorType">
|
39
|
+
<complexContent>
|
40
|
+
<extension base="query:QueryDescriptorType"/>
|
41
|
+
</complexContent>
|
42
|
+
</complexType>
|
43
|
+
|
44
|
+
<complexType name="AttributeQueryDescriptorType">
|
45
|
+
<complexContent>
|
46
|
+
<extension base="query:QueryDescriptorType">
|
47
|
+
<sequence>
|
48
|
+
<element ref="md:AttributeConsumingService" minOccurs="0" maxOccurs="unbounded"/>
|
49
|
+
</sequence>
|
50
|
+
</extension>
|
51
|
+
</complexContent>
|
52
|
+
</complexType>
|
53
|
+
|
54
|
+
<element name="ActionNamespace" type="anyURI"/>
|
55
|
+
|
56
|
+
<complexType name="AuthzDecisionQueryDescriptorType">
|
57
|
+
<complexContent>
|
58
|
+
<extension base="query:QueryDescriptorType">
|
59
|
+
<sequence>
|
60
|
+
<element ref="query:ActionNamespace" minOccurs="0" maxOccurs="unbounded"/>
|
61
|
+
</sequence>
|
62
|
+
</extension>
|
63
|
+
</complexContent>
|
64
|
+
</complexType>
|
65
|
+
|
66
|
+
</schema>
|
data/schemas/ws-addr.xsd
ADDED
@@ -0,0 +1,137 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!--
|
3
|
+
W3C XML Schema defined in the Web Services Addressing 1.0 specification
|
4
|
+
http://www.w3.org/TR/ws-addr-core
|
5
|
+
|
6
|
+
Copyright © 2005 World Wide Web Consortium,
|
7
|
+
|
8
|
+
(Massachusetts Institute of Technology, European Research Consortium for
|
9
|
+
Informatics and Mathematics, Keio University). All Rights Reserved. This
|
10
|
+
work is distributed under the W3C® Software License [1] in the hope that
|
11
|
+
it will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
12
|
+
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
13
|
+
|
14
|
+
[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
|
15
|
+
|
16
|
+
$Id: ws-addr.xsd,v 1.2 2008/07/23 13:38:16 plehegar Exp $
|
17
|
+
-->
|
18
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2005/08/addressing" targetNamespace="http://www.w3.org/2005/08/addressing" blockDefault="#all" elementFormDefault="qualified" finalDefault="" attributeFormDefault="unqualified">
|
19
|
+
|
20
|
+
<!-- Constructs from the WS-Addressing Core -->
|
21
|
+
|
22
|
+
<xs:element name="EndpointReference" type="tns:EndpointReferenceType"/>
|
23
|
+
<xs:complexType name="EndpointReferenceType" mixed="false">
|
24
|
+
<xs:sequence>
|
25
|
+
<xs:element name="Address" type="tns:AttributedURIType"/>
|
26
|
+
<xs:element ref="tns:ReferenceParameters" minOccurs="0"/>
|
27
|
+
<xs:element ref="tns:Metadata" minOccurs="0"/>
|
28
|
+
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
|
29
|
+
</xs:sequence>
|
30
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
31
|
+
</xs:complexType>
|
32
|
+
|
33
|
+
<xs:element name="ReferenceParameters" type="tns:ReferenceParametersType"/>
|
34
|
+
<xs:complexType name="ReferenceParametersType" mixed="false">
|
35
|
+
<xs:sequence>
|
36
|
+
<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
|
37
|
+
</xs:sequence>
|
38
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
39
|
+
</xs:complexType>
|
40
|
+
|
41
|
+
<xs:element name="Metadata" type="tns:MetadataType"/>
|
42
|
+
<xs:complexType name="MetadataType" mixed="false">
|
43
|
+
<xs:sequence>
|
44
|
+
<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
|
45
|
+
</xs:sequence>
|
46
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
47
|
+
</xs:complexType>
|
48
|
+
|
49
|
+
<xs:element name="MessageID" type="tns:AttributedURIType"/>
|
50
|
+
<xs:element name="RelatesTo" type="tns:RelatesToType"/>
|
51
|
+
<xs:complexType name="RelatesToType" mixed="false">
|
52
|
+
<xs:simpleContent>
|
53
|
+
<xs:extension base="xs:anyURI">
|
54
|
+
<xs:attribute name="RelationshipType" type="tns:RelationshipTypeOpenEnum" use="optional" default="http://www.w3.org/2005/08/addressing/reply"/>
|
55
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
56
|
+
</xs:extension>
|
57
|
+
</xs:simpleContent>
|
58
|
+
</xs:complexType>
|
59
|
+
|
60
|
+
<xs:simpleType name="RelationshipTypeOpenEnum">
|
61
|
+
<xs:union memberTypes="tns:RelationshipType xs:anyURI"/>
|
62
|
+
</xs:simpleType>
|
63
|
+
|
64
|
+
<xs:simpleType name="RelationshipType">
|
65
|
+
<xs:restriction base="xs:anyURI">
|
66
|
+
<xs:enumeration value="http://www.w3.org/2005/08/addressing/reply"/>
|
67
|
+
</xs:restriction>
|
68
|
+
</xs:simpleType>
|
69
|
+
|
70
|
+
<xs:element name="ReplyTo" type="tns:EndpointReferenceType"/>
|
71
|
+
<xs:element name="From" type="tns:EndpointReferenceType"/>
|
72
|
+
<xs:element name="FaultTo" type="tns:EndpointReferenceType"/>
|
73
|
+
<xs:element name="To" type="tns:AttributedURIType"/>
|
74
|
+
<xs:element name="Action" type="tns:AttributedURIType"/>
|
75
|
+
|
76
|
+
<xs:complexType name="AttributedURIType" mixed="false">
|
77
|
+
<xs:simpleContent>
|
78
|
+
<xs:extension base="xs:anyURI">
|
79
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
80
|
+
</xs:extension>
|
81
|
+
</xs:simpleContent>
|
82
|
+
</xs:complexType>
|
83
|
+
|
84
|
+
<!-- Constructs from the WS-Addressing SOAP binding -->
|
85
|
+
|
86
|
+
<xs:attribute name="IsReferenceParameter" type="xs:boolean"/>
|
87
|
+
|
88
|
+
<xs:simpleType name="FaultCodesOpenEnumType">
|
89
|
+
<xs:union memberTypes="tns:FaultCodesType xs:QName"/>
|
90
|
+
</xs:simpleType>
|
91
|
+
|
92
|
+
<xs:simpleType name="FaultCodesType">
|
93
|
+
<xs:restriction base="xs:QName">
|
94
|
+
<xs:enumeration value="tns:InvalidAddressingHeader"/>
|
95
|
+
<xs:enumeration value="tns:InvalidAddress"/>
|
96
|
+
<xs:enumeration value="tns:InvalidEPR"/>
|
97
|
+
<xs:enumeration value="tns:InvalidCardinality"/>
|
98
|
+
<xs:enumeration value="tns:MissingAddressInEPR"/>
|
99
|
+
<xs:enumeration value="tns:DuplicateMessageID"/>
|
100
|
+
<xs:enumeration value="tns:ActionMismatch"/>
|
101
|
+
<xs:enumeration value="tns:MessageAddressingHeaderRequired"/>
|
102
|
+
<xs:enumeration value="tns:DestinationUnreachable"/>
|
103
|
+
<xs:enumeration value="tns:ActionNotSupported"/>
|
104
|
+
<xs:enumeration value="tns:EndpointUnavailable"/>
|
105
|
+
</xs:restriction>
|
106
|
+
</xs:simpleType>
|
107
|
+
|
108
|
+
<xs:element name="RetryAfter" type="tns:AttributedUnsignedLongType"/>
|
109
|
+
<xs:complexType name="AttributedUnsignedLongType" mixed="false">
|
110
|
+
<xs:simpleContent>
|
111
|
+
<xs:extension base="xs:unsignedLong">
|
112
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
113
|
+
</xs:extension>
|
114
|
+
</xs:simpleContent>
|
115
|
+
</xs:complexType>
|
116
|
+
|
117
|
+
<xs:element name="ProblemHeaderQName" type="tns:AttributedQNameType"/>
|
118
|
+
<xs:complexType name="AttributedQNameType" mixed="false">
|
119
|
+
<xs:simpleContent>
|
120
|
+
<xs:extension base="xs:QName">
|
121
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
122
|
+
</xs:extension>
|
123
|
+
</xs:simpleContent>
|
124
|
+
</xs:complexType>
|
125
|
+
|
126
|
+
<xs:element name="ProblemIRI" type="tns:AttributedURIType"/>
|
127
|
+
|
128
|
+
<xs:element name="ProblemAction" type="tns:ProblemActionType"/>
|
129
|
+
<xs:complexType name="ProblemActionType" mixed="false">
|
130
|
+
<xs:sequence>
|
131
|
+
<xs:element ref="tns:Action" minOccurs="0"/>
|
132
|
+
<xs:element name="SoapAction" minOccurs="0" type="xs:anyURI"/>
|
133
|
+
</xs:sequence>
|
134
|
+
<xs:anyAttribute namespace="##other" processContents="lax"/>
|
135
|
+
</xs:complexType>
|
136
|
+
|
137
|
+
</xs:schema>
|