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

Ticket #464: eventing.xsd

File eventing.xsd, 4.3 kB (added by user, 9 months ago)
Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema targetNamespace="http://schemas.xmlsoap.org/ws/2004/01/eventing" xmlns:tns="http://schemas.xmlsoap.org/ws/2004/01/eventing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" blockDefault="#all">
3         <xs:import namespace="http://schemas.xmlsoap.org/ws/2003/03/addressing" schemaLocation="wsa.xsd"/>
4         <xs:import namespace="http://schemas.xmlsoap.org/ws/2002/12/policy" schemaLocation="policy.xsd"/>
5         <xs:element name="Subscribe">
6                 <xs:complexType>
7                         <xs:sequence>
8                                 <xs:element ref="tns:NotifyTo" minOccurs="0"/>
9                                 <xs:element ref="tns:EndTo" minOccurs="0"/>
10                                 <xs:element ref="tns:Expires" minOccurs="0"/>
11                                 <xs:element ref="tns:Filter" minOccurs="0"/>
12                                 <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
13                         </xs:sequence>
14                         <xs:anyAttribute namespace="##other" processContents="lax"/>
15                 </xs:complexType>
16         </xs:element>
17         <xs:element name="SubscribeTo" type="wsa:EndpointReferenceType"/>
18         <xs:element name="NotifyTo" type="wsa:EndpointReferenceType"/>
19         <xs:element name="EndTo" type="wsa:EndpointReferenceType"/>
20         <xs:element name="Expires">
21         <xs:complexType>
22             <xs:sequence>
23                 <xs:element name="date" type="xs:dateTime" minOccurs="0"/>
24                 <xs:element name="duration" type="tns:NonNegativeDurationType" minOccurs="0"/>
25             </xs:sequence>
26         </xs:complexType>
27         </xs:element>
28         <xs:simpleType name="NonNegativeDurationType">
29                 <xs:restriction base="xs:duration">
30                         <xs:minInclusive value="P0Y0M0DT0H0M0S"/>
31                 </xs:restriction>
32         </xs:simpleType>
33         <xs:element name="Filter" type="wsp:MessagePredicateAssertion"/>
34         <xs:element name="SupportedDialect" type="xs:anyURI"/>
35         <xs:element name="SubscribeResponse">
36                 <xs:complexType>
37                         <xs:sequence>
38                                 <xs:element ref="tns:Id"/>
39                                 <xs:element ref="tns:Expires"/>
40                                 <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
41                         </xs:sequence>
42                         <xs:anyAttribute namespace="##other" processContents="lax"/>
43                 </xs:complexType>
44         </xs:element>
45         <xs:element name="Id" type="xs:anyURI"/>
46         <xs:element name="Renew">
47                 <xs:complexType>
48                         <xs:sequence>
49                                 <xs:element ref="tns:Id"/>
50                                 <xs:element ref="tns:Expires" minOccurs="0"/>
51                                 <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
52                         </xs:sequence>
53                         <xs:anyAttribute namespace="##other" processContents="lax"/>
54                 </xs:complexType>
55         </xs:element>
56         <xs:element name="RenewResponse">
57                 <xs:complexType>
58                         <xs:sequence>
59                                 <xs:element ref="tns:Expires"/>
60                                 <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
61                         </xs:sequence>
62                         <xs:anyAttribute namespace="##other" processContents="lax"/>
63                 </xs:complexType>
64         </xs:element>
65         <xs:element name="Unsubscribe">
66                 <xs:complexType>
67                         <xs:sequence>
68                                 <xs:element ref="tns:Id"/>
69                                 <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
70                         </xs:sequence>
71                         <xs:anyAttribute namespace="##other" processContents="lax"/>
72                 </xs:complexType>
73         </xs:element>
74         <!-- count(/s:Envelope/s:Body/*) = 0 for Unsubscribe response -->
75         <xs:element name="SubscriptionEnd">
76                 <xs:complexType>
77                         <xs:sequence>
78                                 <xs:element ref="tns:Id"/>
79                                 <xs:element ref="tns:Code"/>
80                                 <xs:element ref="tns:Reason" minOccurs="0"/>
81                                 <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
82                         </xs:sequence>
83                         <xs:anyAttribute namespace="##other" processContents="lax"/>
84                 </xs:complexType>
85         </xs:element>
86         <xs:element name="Code">
87                 <xs:simpleType>
88                         <xs:restriction base="xs:QName">
89                                 <xs:enumeration value="tns:Unsubscribed"/>
90                                 <xs:enumeration value="tns:Expired"/>
91                                 <xs:enumeration value="tns:NotifyToFailure"/>
92                                 <xs:enumeration value="tns:SourceCanceling"/>
93                         </xs:restriction>
94                 </xs:simpleType>
95         </xs:element>
96         <xs:element name="Reason">
97                 <xs:complexType>
98                         <xs:simpleContent>
99                                 <xs:extension base="xs:string"/>
100                         </xs:simpleContent>
101                 </xs:complexType>
102         </xs:element>
103         <!-- No constraint on s:Envelope/s:Body/ for SubscriptionEnd -->
104 </xs:schema>