← Prev in month ← Prev in thread

New merged schema for messageHeader and request elements

From
Tom Rutt <>
Date
2004-02-19T23:02:23+00:00
ID
Thread
New merged schema for messageHeader and request elements
The following is a merged schema for the message header merged into the 
request element.

-----
<!-- The request header Type and it's elements-->
    <xsd:complexType name="RequestType">
        <xsd:complexContent>
            <xsd:extension base="wsrm:RmBaseType">
                <xsd:sequence>
                    <xsd:element name="MessageId" 
type="wsrm:MessageIdType"/>
                    <xsd:element name="ExpiryTime" type="xsd:dateTime"/>
                    <xsd:element name="ReplyPattern" 
type="wsrm:ReplyPatternType"/>
                    <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>
 -

Here is a an example

<?xml version="1.0" encoding="UTF-8"?>
<!--Sample XML file generated by XMLSPY v5 rel. 4 U 
(http://www.xmlspy.com)-->
<Request 
xmlns="http://www.oasis-open.org/committees/wsrm/schema/1.1/SOAP1.1" 
soap:mustUnderstand="1">
    <MessageId groupId="http://www.altova.com/1">
        <SequenceNum number="4294967295" status="Start" 
groupExpiryTime="2001-12-17T09:30:47-05:00" />
    </MessageId>
    <ExpiryTime>2001-12-17T09:30:47-05:00</ExpiryTime>
    <ReplyPattern replyTo="http://www.altova.com">Callback</ReplyPattern>
    <AckRequested/>
    <DuplicateElimination/>
    <MessageOrder/>
</Request>


This simplifies the protocol description a lot.  This element would only 
be present for rm requests with a payload.

Tom Rutt

-- 
----------------------------------------------------
Tom Rutt		email: ; 
Tel: +1 732 801 5744          Fax: +1 732 774 5133
← Prev in month ← Prev in thread