Add an option for emulating 1.1 authn request
[shibboleth/sp.git] / schemas / soap-envelope.xsd
1 <?xml version='1.0' encoding='UTF-8' ?>
2
3 <!-- Schema for the SOAP/1.1 envelope
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-envelope
9
10      Copyright 2001 Martin Gudgin, Developmentor.
11
12      Changes made are the following:
13      - reverted namespace to http://schemas.xmlsoap.org/soap/envelope/
14      - reverted mustUnderstand to only allow 0 and 1 as lexical values
15
16      Original copyright:
17      
18      Copyright 2001 W3C (Massachusetts Institute of Technology,
19      Institut National de Recherche en Informatique et en Automatique,
20      Keio University). All Rights Reserved.
21      http://www.w3.org/Consortium/Legal/
22
23      This document is governed by the W3C Software License [1] as
24      described in the FAQ [2].
25
26      [1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
27      [2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
28 -->
29 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
30            xmlns:tns="http://schemas.xmlsoap.org/soap/envelope/"
31            targetNamespace="http://schemas.xmlsoap.org/soap/envelope/" >
32
33      
34   <!-- Envelope, header and body -->
35   <xs:element name="Envelope" type="tns:Envelope" />
36   <xs:complexType name="Envelope" >
37     <xs:sequence>
38       <xs:element ref="tns:Header" minOccurs="0" />
39       <xs:element ref="tns:Body" minOccurs="1" />
40       <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
41     </xs:sequence>
42     <xs:anyAttribute namespace="##other" processContents="lax" />
43   </xs:complexType>
44
45   <xs:element name="Header" type="tns:Header" />
46   <xs:complexType name="Header" >
47     <xs:sequence>
48       <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
49     </xs:sequence>
50     <xs:anyAttribute namespace="##other" processContents="lax" />
51   </xs:complexType>
52   
53   <xs:element name="Body" type="tns:Body" />
54   <xs:complexType name="Body" >
55     <xs:sequence>
56       <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
57     </xs:sequence>
58     <xs:anyAttribute namespace="##any" processContents="lax" >
59           <xs:annotation>
60             <xs:documentation>
61                   Prose in the spec does not specify that attributes are allowed on the Body element
62                 </xs:documentation>
63           </xs:annotation>
64         </xs:anyAttribute>
65   </xs:complexType>
66
67        
68   <!-- Global Attributes.  The following attributes are intended to be usable via qualified attribute names on any complex type referencing them.  -->
69   <xs:attribute name="mustUnderstand" default="0" >     
70      <xs:simpleType>
71      <xs:restriction base='xs:boolean'>
72            <xs:pattern value='0|1' />
73          </xs:restriction>
74    </xs:simpleType>
75   </xs:attribute>
76   <xs:attribute name="actor" type="xs:anyURI" />
77
78   <xs:simpleType name="encodingStyle" >
79     <xs:annotation>
80           <xs:documentation>
81             'encodingStyle' indicates any canonicalization conventions followed in the contents of the containing element.  For example, the value 'http://schemas.xmlsoap.org/soap/encoding/' indicates the pattern described in SOAP specification
82           </xs:documentation>
83         </xs:annotation>
84     <xs:list itemType="xs:anyURI" />
85   </xs:simpleType>
86
87   <xs:attributeGroup name="encodingStyle" >
88     <xs:attribute name="encodingStyle" type="tns:encodingStyle" />
89   </xs:attributeGroup>
90
91   <xs:complexType name="Fault" final="extension" >
92     <xs:annotation>
93           <xs:documentation>
94             Fault reporting structure
95           </xs:documentation>
96         </xs:annotation>
97     <xs:sequence>
98       <xs:element name="faultcode" type="xs:QName" />
99       <xs:element name="faultstring" type="xs:string" />
100       <xs:element name="faultactor" type="xs:anyURI" minOccurs="0" />
101       <xs:element name="detail" type="tns:detail" minOccurs="0" />      
102     </xs:sequence>
103   </xs:complexType>
104
105   <xs:complexType name="detail">
106     <xs:sequence>
107       <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
108     </xs:sequence>
109     <xs:anyAttribute namespace="##any" processContents="lax" /> 
110   </xs:complexType>
111
112 </xs:schema>
113
114
115
116
117
118