[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Optimized schema for unified response header (rel 108/115)
I optimized the schema, so the group ID only has to be sent once in each response per group. The Idea is simple, one element returned per group being reported. That element has a groupID attribute, and one or more lists. a) a list of sequence numbers to report messages in that group which have been delivered. b) for each fault code which has been encountered for messages in that group, an element which has the fault code and a list of sequence numbers which faulted dut to that code. This proposed schema does not include fault detail info, however that could go into the fault detail element if so warranted. ------ <!-- Response Header Type and it's elements --> <xsd:complexType name="ResponseType"> <xsd:complexContent> <xsd:extension base="wsrm:RmBaseType"> <xsd:sequence> <!-- used to send references to delivered and faulted messages --> <xsd:element name="RefToMessageReplies" type="wsrm:RefToMessageRepliesType" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> <xsd:complexType name="RefToMessageRepliesType"> <xsd:complexContent> <xsd:extension base="wsrm:EmptyType"> <xsd:sequence> <! -- used to send sequence numbers for delivered messages in a group--> <xsd:element name="SequenceNumberRange" type="wsrm:SequenceNumberRangeType" minOccurs="0" maxOccurs="unbounded"/> <! -- used to send sequence numbers for faulted messages within in a group, by fault code <xsd:element name="RefToFaults" type="wsrm:RefToFaultsType" minOccurs="0" maxOccurs="unbounded" /> </xsd:sequence> <xsd:attribute name="groupId" type="wsrm:MIDType"/> </xsd:extension> </xsd:complexContent> </xsd:complexType> <xsd:complexType name="RefToFaultsType"> <xsd:complexContent> <xsd:extension base="wsrm:EmptyType"> <xsd:sequence> <xsd:element name="FaultCode" type="wsrm:FaultCodeEnum"/> <xsd:element name="SequenceNumberRange" type="wsrm:RefToMessageIdsSequenceNumberRangeType" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence </xsd:extension> </xsd:complexContent> </xsd:complexType> ------- -- ---------------------------------------------------- Tom Rutt email: tom@coastin.com; trutt@fsw.fujitsu.com Tel: +1 732 801 5744 Fax: +1 732 774 5133
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]