[jboss-svn-commits] JBossWS SVN: r624 - branches/jbossws-1.0/src/main/resources/schema

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Jul 19 08:47:15 EDT 2006


Author: heiko.braun at jboss.com
Date: 2006-07-19 08:47:13 -0400 (Wed, 19 Jul 2006)
New Revision: 624

Added:
   branches/jbossws-1.0/src/main/resources/schema/ws-eventing.xsd
Log:
local wse  schema

Added: branches/jbossws-1.0/src/main/resources/schema/ws-eventing.xsd
===================================================================
--- branches/jbossws-1.0/src/main/resources/schema/ws-eventing.xsd	2006-07-19 12:46:40 UTC (rev 623)
+++ branches/jbossws-1.0/src/main/resources/schema/ws-eventing.xsd	2006-07-19 12:47:13 UTC (rev 624)
@@ -0,0 +1,189 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<xs:schema
+        targetNamespace="http://schemas.xmlsoap.org/ws/2004/08/eventing"
+        xmlns:tns="http://schemas.xmlsoap.org/ws/2004/08/eventing"
+        xmlns:wsa="http://www.w3.org/2005/08/addressing"
+        xmlns:xs="http://www.w3.org/2001/XMLSchema"
+        elementFormDefault="qualified"
+        attributeFormDefault="unqualified"
+        blockDefault="#all">
+
+    <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
+
+    <xs:import namespace="http://www.w3.org/2005/08/addressing" schemaLocation="http://www.w3.org/2005/08/addressing/ws-addr.xsd"/>
+
+    <!-- Types and global elements -->
+    <xs:complexType name="DeliveryType" mixed="true">
+        <xs:sequence>
+            <!--xs:any namespace="##any" processContents="lax"
+                    minOccurs="0" maxOccurs="unbounded" /-->
+            <xs:element name="NotifyTo" type="wsa:EndpointReferenceType" minOccurs="0" maxOccurs="1"/>
+        </xs:sequence>
+        <xs:attribute name="Mode" type="xs:anyURI" use="optional"/>
+        <!--xs:anyAttribute namespace="##other" processContents="lax" /-->
+    </xs:complexType>
+
+    <!--xs:element name="NotifyTo" type="wsa:EndpointReferenceType" /-->
+
+    <xs:simpleType name="NonNegativeDurationType">
+        <xs:restriction base="xs:duration">
+            <xs:minInclusive value="P0Y0M0DT0H0M0S"/>
+        </xs:restriction>
+    </xs:simpleType>
+
+    <xs:simpleType name="ExpirationType">
+        <xs:union memberTypes="xs:dateTime tns:NonNegativeDurationType"/>
+    </xs:simpleType>
+
+    <xs:complexType name="FilterType" mixed="true">
+        <!--xs:sequence>
+            <xs:any namespace="##other" processContents="lax"
+                    minOccurs="0" maxOccurs="unbounded" />
+        </xs:sequence-->
+        <xs:simpleContent>
+            <xs:extension base="xs:string">
+                <xs:attribute name="Dialect" type="xs:anyURI" use="optional"/>
+            </xs:extension>
+        </xs:simpleContent>
+
+        <!--xs:anyAttribute namespace="##other" processContents="lax" /-->
+    </xs:complexType>
+
+    <xs:complexType name="LanguageSpecificStringType">
+        <xs:simpleContent>
+            <xs:extension base="xs:string">
+                <xs:attribute ref="xml:lang" />
+                <!--xs:anyAttribute namespace="##other" processContents="lax" /-->
+            </xs:extension>
+        </xs:simpleContent>
+    </xs:complexType>
+
+    <xs:element name="Subscribe">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="EndTo" type="wsa:EndpointReferenceType"
+                            minOccurs="0"/>
+                <xs:element name="Delivery" type="tns:DeliveryType"/>
+                <xs:element name="Expires" type="xs:dateTime" minOccurs="0"/>
+                <xs:element name="Filter" type="tns:FilterType" minOccurs="0"/>
+                <!--xs:any namespace="##other" processContents="lax"
+                        minOccurs="0" maxOccurs="unbounded" /-->
+            </xs:sequence>
+            <!--xs:anyAttribute namespace="##other" processContents="lax" /-->
+        </xs:complexType>
+    </xs:element>
+
+    <xs:element name="Identifier" type="xs:anyURI"/>
+
+    <xs:element name="SubscribeResponse">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="SubscriptionManager"
+                            type="wsa:EndpointReferenceType"/>
+                <xs:element name="Expires" type="xs:dateTime"/>
+
+                <!--xs:element name="Expires" type="tns:ExpirationType" /-->
+                <!--xs:any namespace="##other" processContents="lax"
+                        minOccurs="0" maxOccurs="unbounded" /-->
+            </xs:sequence>
+            <!--xs:anyAttribute namespace="##other" processContents="lax" /-->
+        </xs:complexType>
+    </xs:element>
+
+    <!-- Used in a fault if there's an unsupported dialect -->
+    <xs:element name="SupportedDialect" type="xs:anyURI"/>
+
+    <!-- Used in a fault if there's an unsupported delivery mode -->
+    <xs:element name="SupportedDeliveryMode" type="xs:anyURI"/>
+
+    <!-- Renew request -->
+    <xs:element name="Renew">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="Expires" type="xs:dateTime" minOccurs="0"/>
+                <!--xs:any namespace="##other" processContents="lax"
+                        minOccurs="0" maxOccurs="unbounded" /-->
+            </xs:sequence>
+            <!--xs:anyAttribute namespace="##other" processContents="lax" /-->
+        </xs:complexType>
+    </xs:element>
+
+    <!-- Renew response -->
+    <xs:element name="RenewResponse">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="Expires" type="xs:dateTime" minOccurs="0"/>
+                <!--xs:any namespace="##other" processContents="lax"
+                        minOccurs="0" maxOccurs="unbounded" /-->
+            </xs:sequence>
+            <!--xs:anyAttribute namespace="##other" processContents="lax" /-->
+        </xs:complexType>
+    </xs:element>
+
+    <!-- GetStatus request -->
+    <xs:element name="GetStatus">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:any namespace="##other" processContents="lax"
+                        minOccurs="0" maxOccurs="unbounded" />
+            </xs:sequence>
+            <!--xs:anyAttribute namespace="##other" processContents="lax" /-->
+        </xs:complexType>
+    </xs:element>
+
+    <!-- GetStatus response -->
+    <xs:element name="GetStatusResponse">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="Expires" type="xs:dateTime" minOccurs="0"/>
+                <!--xs:any namespace="##other" processContents="lax"
+                        minOccurs="0" maxOccurs="unbounded" /-->
+            </xs:sequence>
+            <!--xs:anyAttribute namespace="##other" processContents="lax" /-->
+        </xs:complexType>
+    </xs:element>
+
+    <!-- Unsubscribe request -->
+    <xs:element name="Unsubscribe">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:any namespace="##other" processContents="lax"
+                        minOccurs="0" maxOccurs="unbounded" />
+            </xs:sequence>
+            <!--xs:anyAttribute namespace="##other" processContents="lax" /-->
+        </xs:complexType>
+    </xs:element>
+
+    <!-- count(/s:Envelope/s:Body/*) = 0 for Unsubscribe response -->
+    <!-- SubscriptionEnd message -->
+    <xs:element name="SubscriptionEnd">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element name="SubscriptionManager"
+                            type="wsa:EndpointReferenceType"/>
+                <xs:element name="Code" type="tns:OpenSubscriptionEndCodeType"/>
+                <xs:element name="Reason" type="tns:LanguageSpecificStringType"
+                            minOccurs="0" maxOccurs="unbounded"/>
+                <!--xs:any namespace="##other" processContents="lax"
+                        minOccurs="0" maxOccurs="unbounded" /-->
+            </xs:sequence>
+            <!--xs:anyAttribute namespace="##other" processContents="lax" /-->
+        </xs:complexType>
+    </xs:element>
+
+    <xs:simpleType name="SubscriptionEndCodeType">
+        <xs:restriction base="xs:QName">
+            <xs:enumeration value="tns:DeliveryFailure"/>
+            <xs:enumeration value="tns:SourceShuttingDown"/>
+            <xs:enumeration value="tns:SourceCancelling"/>
+        </xs:restriction>
+    </xs:simpleType>
+
+    <xs:simpleType name="OpenSubscriptionEndCodeType">
+        <xs:union memberTypes="tns:SubscriptionEndCodeType xs:QName"/>
+    </xs:simpleType>
+
+    <xs:attribute name="EventSource" type="xs:boolean"/>
+
+</xs:schema>


Property changes on: branches/jbossws-1.0/src/main/resources/schema/ws-eventing.xsd
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF




More information about the jboss-svn-commits mailing list