Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Ticket #464: utility.xsd

File utility.xsd, 10.1 kB (added by user, 9 months ago)
Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Legal Disclaimer
4
5 The presentation, distribution or other dissemination of the information
6 contained in this specification is not a license, either expressly or impliedly,
7 to any intellectual property owned or controlled by IBM or Microsoft and\or any other
8 third party.  IBM and Microsoft and\or any other third party may have patents, patent
9 applications, trademarks, copyrights, or other intellectual property rights
10 covering subject matter in this document.  The furnishing of this document
11 does not give you any license to IBM's and Microsoft's or any other third party's patents,
12 trademarks, copyrights, or other intellectual property.
13
14 This specification and the information contained herein is provided on an "AS IS"
15  basis and to the maximum extent permitted by applicable law, IBM and Microsoft provides
16 the document AS IS AND WITH ALL FAULTS, and hereby disclaims all other warranties
17 and conditions, either express, implied or statutory, including, but not limited
18 to, any (if any) implied warranties, duties or conditions of merchantability, of
19 fitness for a particular purpose, of accuracy or completeness of responses, of
20 results, of workmanlike effort, of lack of viruses, and of lack of negligence,
21 all with regard to the document. ALSO, THERE IS NO WARRANTY OR CONDITION OF
22 TITLE, QUIET ENJOYMENT, QUIET POSSESSION, CORRESPONDENCE TO DESCRIPTION OR
23 NON-INFRINGEMENT OF ANY INTELLECTUAL PROPERTY RIGHTS WITH REGARD TO THE DOCUMENT.
24
25 IN NO EVENT WILL IBM or MICROSOFT BE LIABLE TO ANY OTHER PARTY FOR THE COST OF PROCURING
26 SUBSTITUTE GOODS OR SERVICES, LOST PROFITS, LOSS OF USE, LOSS OF DATA, OR ANY
27 INCIDENTAL, CONSEQUENTIAL, DIRECT, INDIRECT, OR SPECIAL DAMAGES WHETHER UNDER
28 CONTRACT, TORT, WARRANTY, OR OTHERWISE, ARISING IN ANY WAY OUT OF THIS OR ANY
29 OTHER AGREEMENT RELATING TO THIS DOCUMENT, WHETHER OR NOT SUCH PARTY HAD ADVANCE
30 NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
31
32 Copyright Notice
33
34 Copyright 2001, 2002 IBM Corporation and Microsoft Corporation. All rights reserved.
35 -->
36 <xsd:schema targetNamespace="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns="http://schemas.xmlsoap.org/ws/2002/07/utility" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.1">
37         <!-- // Fault Codes /////////////////////////////////////////// -->
38         <xsd:simpleType name="tTimestampFault">
39                 <xsd:annotation>
40                         <xsd:documentation>
41 This type defines the fault code value for Timestamp message expiration.
42           </xsd:documentation>
43                 </xsd:annotation>
44                 <xsd:restriction base="xsd:QName">
45                         <xsd:enumeration value="wsu:MessageExpired"/>
46                 </xsd:restriction>
47         </xsd:simpleType>
48         <xsd:simpleType name="tContextFault">
49                 <xsd:annotation>
50                         <xsd:documentation>
51 This type defines the fault code values for context-related faults.
52           </xsd:documentation>
53                 </xsd:annotation>
54                 <xsd:restriction base="xsd:QName">
55                         <xsd:enumeration value="wsu:ContextEstablished"/>
56                         <xsd:enumeration value="wsu:ContextUnknown"/>
57                         <xsd:enumeration value="wsu:ContextNotSupported"/>
58                         <xsd:enumeration value="wsu:ContextRefused"/>
59                         <xsd:enumeration value="wsu:ContextExpired"/>
60                 </xsd:restriction>
61         </xsd:simpleType>
62         <!-- // Global attributes //////////////////////////////////// -->
63         <xsd:attribute name="Id" type="xsd:ID">
64                 <xsd:annotation>
65                         <xsd:documentation>
66 This global attribute supports annotating arbitrary elements with an ID.
67           </xsd:documentation>
68                 </xsd:annotation>
69         </xsd:attribute>
70         <xsd:attribute name="MustUnderstand" type="xsd:boolean">
71                 <xsd:annotation>
72                         <xsd:documentation>
73 This global attribute is used on extensions to distinguish mandatory vs. optional extensions.
74           </xsd:documentation>
75                 </xsd:annotation>
76         </xsd:attribute>
77         <xsd:attributeGroup name="commonAtts">
78                 <xsd:annotation>
79                         <xsd:documentation>
80 Convenience attribute group used to simplify this schema.
81           </xsd:documentation>
82                 </xsd:annotation>
83                 <xsd:attribute ref="wsu:Id" use="optional"/>
84                 <xsd:anyAttribute namespace="##other" processContents="lax"/>
85         </xsd:attributeGroup>
86         <!-- // Utility types //////////////////////////////////////// -->
87         <xsd:complexType name="AttributedDateTime">
88                 <xsd:annotation>
89                         <xsd:documentation>
90 This type is for elements whose [children] is a psuedo-dateTime and can have arbitrary attributes.
91       </xsd:documentation>
92                 </xsd:annotation>
93                 <xsd:simpleContent>
94                         <xsd:extension base="xsd:string">
95                                 <xsd:attribute name="ValueType" type="xsd:QName">
96                                         <xsd:annotation>
97                                                 <xsd:documentation>
98 This attribute indicates the actual schema type of the element [children].
99 If the ValueType attribute is present, conforming processors must process the string value of [children] as if it were affiliated with the type indicated by this attribute.
100 If the ValueType attribute is absent, the implied value of this attribute is xsd:dateTime.
101             </xsd:documentation>
102                                         </xsd:annotation>
103                                 </xsd:attribute>
104                                 <xsd:attributeGroup ref="wsu:commonAtts"/>
105                         </xsd:extension>
106                 </xsd:simpleContent>
107         </xsd:complexType>
108         <xsd:complexType name="ReceivedType">
109                 <xsd:annotation>
110                         <xsd:documentation>
111 This type extends AnnotatedDateTime to add a Delay attribute.
112       </xsd:documentation>
113                 </xsd:annotation>
114                 <xsd:simpleContent>
115                         <xsd:extension base="wsu:AttributedDateTime">
116                                 <xsd:attribute name="Delay" type="xsd:int" use="optional">
117                                         <xsd:annotation>
118                                                 <xsd:documentation>
119 This attribute indicates the number of milliseconds that this actor processed this message.
120             </xsd:documentation>
121                                         </xsd:annotation>
122                                 </xsd:attribute>
123                                 <xsd:attribute name="Actor" type="xsd:anyURI" use="required">
124                                         <xsd:annotation>
125                                                 <xsd:documentation>
126 This attribute indicates the intermediary that processed this message.
127             </xsd:documentation>
128                                         </xsd:annotation>
129                                 </xsd:attribute>
130                         </xsd:extension>
131                 </xsd:simpleContent>
132         </xsd:complexType>
133         <xsd:complexType name="AttributedURI">
134                 <xsd:annotation>
135                         <xsd:documentation>
136 This type is for elements whose [children] is an anyURI and can have arbitrary attributes.
137       </xsd:documentation>
138                 </xsd:annotation>
139                 <xsd:simpleContent>
140                         <xsd:extension base="xsd:anyURI">
141                                 <xsd:attributeGroup ref="wsu:commonAtts"/>
142                         </xsd:extension>
143                 </xsd:simpleContent>
144         </xsd:complexType>
145         <!-- // Timestamp header components /////////////////////////// -->
146         <xsd:complexType name="TimestampType">
147                 <xsd:annotation>
148                         <xsd:documentation>
149 This complex type ties together the timestamp related elements into a composite type.
150             </xsd:documentation>
151                 </xsd:annotation>
152                 <xsd:sequence>
153                         <xsd:element ref="wsu:Created" minOccurs="0"/>
154                         <xsd:element ref="wsu:Expires" minOccurs="0"/>
155                         <xsd:choice minOccurs="0" maxOccurs="unbounded">
156                                 <xsd:element ref="wsu:Received"/>
157                                 <xsd:any namespace="##other" processContents="lax"/>
158                         </xsd:choice>
159                 </xsd:sequence>
160                 <xsd:attributeGroup ref="wsu:commonAtts"/>
161         </xsd:complexType>
162         <xsd:element name="Timestamp" type="wsu:TimestampType">
163                 <xsd:annotation>
164                         <xsd:documentation>
165 This element allows Timestamps to be applied anywhere element wildcards are present,
166 including as a SOAP header.
167             </xsd:documentation>
168                 </xsd:annotation>
169         </xsd:element>
170         <!-- global element decls to allow individual elements to appear anywhere -->
171         <xsd:element name="Expires" type="wsu:AttributedDateTime">
172                 <xsd:annotation>
173                         <xsd:documentation>
174 This element allows an expiration time to be applied anywhere element wildcards are present.
175             </xsd:documentation>
176                 </xsd:annotation>
177         </xsd:element>
178         <xsd:element name="Created" type="wsu:AttributedDateTime">
179                 <xsd:annotation>
180                         <xsd:documentation>
181 This element allows a creation time to be applied anywhere element wildcards are present.
182             </xsd:documentation>
183                 </xsd:annotation>
184         </xsd:element>
185         <xsd:element name="Received" type="wsu:ReceivedType">
186                 <xsd:annotation>
187                         <xsd:documentation>
188 This element allows the ReceviedType to be applied anywhere element wildcards are present, including a Timestamp header.
189             </xsd:documentation>
190                 </xsd:annotation>
191         </xsd:element>
192         <xsd:element name="Identifier" type="wsu:AttributedURI" />
193         <!-- // Context ///////////////////////////////////// -->
194         <xsd:complexType name="ContextType" abstract="true">
195                 <xsd:annotation>
196                         <xsd:documentation>
197 This type is the generic base type for context headers.
198             </xsd:documentation>
199                 </xsd:annotation>
200                 <xsd:sequence>
201                         <xsd:element ref="wsu:Expires" minOccurs="0"/>
202                         <xsd:element ref="wsu:Identifier" />
203                 </xsd:sequence>
204                 <xsd:attributeGroup ref="wsu:commonAtts"/>
205         </xsd:complexType>
206         <xsd:element name="Context">
207                 <xsd:annotation>
208                         <xsd:documentation>
209 This element allows Contexts to be applied anywhere element wildcards are present,
210 including as a SOAP header.
211             </xsd:documentation>
212                 </xsd:annotation>
213                 <xsd:complexType>
214                         <xsd:complexContent>
215                                 <xsd:extension base="wsu:ContextType">
216                                         <xsd:sequence>
217                                                 <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
218                                         </xsd:sequence>
219                                 </xsd:extension>
220                         </xsd:complexContent>
221                 </xsd:complexType>
222         </xsd:element>
223         <!-- // PortReference ////////////////////////////// -->
224         <xsd:complexType name="PortReferenceType">
225                 <xsd:annotation>
226                         <xsd:documentation>
227 This complex type defines a lightweight type for transmitting ports.
228             </xsd:documentation>
229                 </xsd:annotation>
230                 <xsd:sequence>
231                         <xsd:element name="Address" type="wsu:AttributedURI"/>
232                         <xsd:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
233                 </xsd:sequence>
234                 <xsd:attributeGroup ref="wsu:commonAtts"/>
235         </xsd:complexType>
236         <xsd:element name="PortReference" type="wsu:PortReferenceType">
237                 <xsd:annotation>
238                         <xsd:documentation>
239 This element allows port references to be applied anywhere element wildcards are present.
240             </xsd:documentation>
241                 </xsd:annotation>
242         </xsd:element>
243 </xsd:schema>