OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrm message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Version 0.3 of the schema



 All -

 Attached is v0.3 of the schema based on the "tentative" resolutions.
 See the "Change Log"for details.

 Comments???

 -Sunil
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Sunil Kunisetty (Oracle Corporation) -->
<!-- 

Schema for WS-Reliability Headers
File: ws-reliability.xsd
Version: 0.2
Editors:
  Scott Werden
  Sunil Kunisetty

Change Log:
0.1:    Initial version
0.2:    Added MessageOrder sub-element to Request
          Updated Response element to extend RmBaseType
0.3     Based on resolutions from 10/30/03 F2F
          - Replace removeAfter with MaxGroupExpiryTime
          - Add MaxIdleTime as an optional attribute to GroupId
          - Remove Tiemstamp
          - Add PollRequest Header
          - Change Response to support batching
          
OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification, can be obtained from the OASIS Executive Director.


OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.


Copyright © OASIS Open 2002. All Rights Reserved.


This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself does not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English.


The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.


This document and the information contained herein is provided on an “AS IS” basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.


-->
<xsd:schema targetNamespace="http://www.oasis-open.org/committees/wsrm/schema/1.1/SOAP1.1"; xmlns:wsrm="http://www.oasis-open.org/committees/wsrm/schema/1.1/SOAP1.1"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.3">
	<xsd:import namespace="http://schemas.xmlsoap.org/soap/envelope/"; schemaLocation="http://schemas.xmlsoap.org/soap/envelope"/>
      <!-- 4 Main WSRM Headers -->
	<xsd:element name="MessageHeader" type="wsrm:MessageHeaderType"/>
	<xsd:element name="Request" type="wsrm:RequestType"/>
	<xsd:element name="Response" type="wsrm:ResponseType"/>
	<xsd:element name="PollRequest" type="wsrm:PollRequestType"/>
	<xsd:element name="Fault" type="wsrm:FaultType"/>
	
	<!-- Describe the BaseTypes -->
	<xsd:complexType name="RmBaseType">
		<xsd:sequence>
			<xsd:any namespace="##other" processContents="lax" maxOccurs="unbounded"/>
		</xsd:sequence>
		<xsd:attribute ref="soap:mustUnderstand" use="required" fixed="1"/>
		<xsd:anyAttribute namespace="##other" processContents="lax"/>
	</xsd:complexType>
	<xsd:complexType name="EmptyType">
		<xsd:sequence/>
	</xsd:complexType>
	
	
	<!-- The main MessageHeader Type and it's element-->
	<xsd:complexType name="MessageHeaderType">
		<xsd:complexContent>
			<xsd:extension base="wsrm:RmBaseType">
				<xsd:sequence>
					<xsd:element name="GroupId" type="wsrm:GroupIdType"/>
					<xsd:element name="SequenceNumber" type="wsrm:SequenceNumberType" minOccurs="0"/>
					<xsd:element name="ExpiryTime" type="xsd:dateTime"/>
					<xsd:element name="ReplyPattern" type="wsrm:ReplyPatternType"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="ReplyPatternType">
		<xsd:simpleContent>
			<xsd:extension base="wsrm:ReplyPatternTypeValues">
				<xsd:attribute name="replyTo" type="xsd:anyURI" use="optional"/>
			</xsd:extension>
		</xsd:simpleContent>
	</xsd:complexType>
	<xsd:simpleType name="ReplyPatternTypeValues">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="Response"/>
			<xsd:enumeration value="Callback"/>
			<xsd:enumeration value="Poll"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:complexType name="GroupIdType">
		<xsd:simpleContent>
			<xsd:extension base="wsrm:MIDType">
				<xsd:attribute name="MaxGroupExpiryTime" type="xsd:dateTime" use="optional"/>
				<xsd:attribute name="MaxIdleTime" type="xsd:dateTime" use="optional"/>
			</xsd:extension>
		</xsd:simpleContent>
	</xsd:complexType>
	<xsd:simpleType name="MIDType">
		<xsd:restriction base="xsd:anyURI"/>
	</xsd:simpleType>
	<xsd:complexType name="SequenceNumberType">
		<xsd:simpleContent>
			<xsd:extension base="xsd:unsignedLong">
				<xsd:attribute name="status" type="wsrm:SequenceNumberStatusType" use="optional"/>
			</xsd:extension>
		</xsd:simpleContent>
	</xsd:complexType>
	<xsd:simpleType name="SequenceNumberStatusType">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="Start"/>
			<xsd:enumeration value="Continue"/>
			<xsd:enumeration value="End"/>
		</xsd:restriction>
	</xsd:simpleType>
	
	
	<!-- Request Header Type and it's elements -->
	<xsd:complexType name="RequestType">
		<xsd:complexContent>
			<xsd:extension base="wsrm:RmBaseType">
				<xsd:sequence>
					<xsd:element name="AckRequested" type="wsrm:EmptyType" minOccurs="0"/>
					<xsd:element name="DuplicateElimination" type="wsrm:EmptyType" minOccurs="0"/>
					<xsd:element name="MessageOrder" type="wsrm:EmptyType" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	
	
	<!-- Response Header Type and it's elements -->
	<xsd:complexType name="ResponseType">
		<xsd:complexContent>
			<xsd:extension base="wsrm:RmBaseType">
				<xsd:sequence>
					<xsd:element name="RefToGroupId" type="wsrm:ResponseElementType" maxOccurs="unbounded" />
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>	
       <xsd:complexType name="ResponseElementType">
	      <xsd:complexContent>
			<xsd:extension base="wsrm:EmptyType">
				<xsd:sequence>
					<xsd:element name="RefToSequenceNumberRange" type="wsrm:RefToSequenceNumberRangeType"  minOccurs="0" maxOccurs="unbounded"/>
				</xsd:sequence>
				<xsd:attribute name="value" type="wsrm:MIDType" />
			</xsd:extension>			
		</xsd:complexContent>
       </xsd:complexType>
       <xsd:complexType name="RefToSequenceNumberRangeType">
		<xsd:complexContent>
			<xsd:extension base="wsrm:EmptyType">
				<xsd:attribute name="From" type="xsd:unsignedLong"/>
				<xsd:attribute name="To" type="xsd:unsignedLong"/>
			</xsd:extension>
		</xsd:complexContent>
       </xsd:complexType>
       
       
       <!-- Poll Request Header Type and it's elements -->
       <xsd:complexType name="PollRequestType">
		<xsd:complexContent>
			<xsd:extension base="wsrm:RmBaseType">
				<xsd:sequence>
					<xsd:element name="GroupId" type="wsrm:PollRequestElementType" maxOccurs="unbounded" />
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
       <xsd:complexType name="PollRequestElementType">
	      <xsd:complexContent>
			<xsd:extension base="wsrm:EmptyType">
				<xsd:sequence>
					<xsd:element name="SequenceNumberRange" type="wsrm:SequenceNumberRangeType"  minOccurs="0" maxOccurs="unbounded"/>
				</xsd:sequence>
				<xsd:attribute name="value" type="wsrm:MIDType" />
			</xsd:extension>			
		</xsd:complexContent>
       </xsd:complexType>
       <xsd:complexType name="SequenceNumberRangeType">
		<xsd:complexContent>
			<xsd:extension base="wsrm:EmptyType">
				<xsd:attribute name="From" type="xsd:unsignedLong"/>
				<xsd:attribute name="To" type="xsd:unsignedLong"/>
			</xsd:extension>
		</xsd:complexContent>
       </xsd:complexType>

       
       <!-- Fault Header and Fault Code -->
	<xsd:complexType name="FaultType">
		<xsd:simpleContent>
			<xsd:extension base="xsd:QName"/>
		</xsd:simpleContent>
	</xsd:complexType>
	<xsd:simpleType name="FaultcodeEnum">
		<xsd:restriction base="xsd:QName">
			<xsd:enumeration value="wsrm:InvalidMessageHeader"/>
			<xsd:enumeration value="wsrm:InvalidGroupId"/>
			<xsd:enumeration value="wsrm:InvalidSequenceNo"/>
			<xsd:enumeration value="wsrm:InvalidRefToGroupId"/>
			<xsd:enumeration value="wsrm:InvalidrefToSequenceNumber"/>
			<xsd:enumeration value="wsrm:InvalidMaxIdle"/>
			<xsd:enumeration value="wsrm:InvalidGroupExpiryTime"/>
			<xsd:enumeration value="wsrm:InvalidExpiryTime"/>
			<xsd:enumeration value="wsrm:InvalidAckRequested"/>
			<xsd:enumeration value="wsrm:InvalidDuplicateElimination"/>
		</xsd:restriction>
	</xsd:simpleType>
</xsd:schema>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]