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

 


Help: OASIS Mailing Lists Help | MarkMail Help

ws-rx message

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


Subject: RE: [ws-rx] NEW ISSUE: correct form of SeqAck when RMD has received no messages (proposed-02)


Title: RE: [ws-rx] NEW ISSUE: correct form of SeqAck when RMD has received no messages (proposed-02)

Chris:
That is a good catch.
Although the solution you propose works, it's a bit of a hack (the use of "0" could be misleading, it would be better if 0 *never* appeared in a range.)

Any reason why we could not relax the schema so that an empty SequenceAcknowledgement is valid?

Cheers,
Jacques

-----Original Message-----
From: Christopher B Ferris [mailto:chrisfer@us.ibm.com]
Sent: Wednesday, August 03, 2005 7:12 AM
To: ws-rx@lists.oasis-open.org
Subject: [ws-rx] NEW ISSUE: correct form of SeqAck when RMD has received no messages

Title: What is the correct form of SeqAck when RMD has received no
messages

Description: Consider the following scenario: an RMS establishes a
Sequence with
CreateSequence and transmits a single message that is NOT received by the
RMD. It then follows
that with an AckRequested message. What is the correct form of the
SequenceAcknowledgement
expected? Should one be sent?

Justification: The specification and schema require that a
SequenceAcknowledgement element
have at least one AcknowledgementRange child element (or a Nack) Yet,
MessageNumber values
start at 1 and increment monotonically by 1 for each successive message in
a Sequence. Zero (0)
is not a valid MessageNumber.

Target: core

Type: design

Proposal: Recommend that an RMD be required to respond with a
SequenceAcknowledgement
element containing exactly one AcknowledgementRange child element that has
both the
@Upper and @Lower attributes each carry a value of "0" to signify that no
messages have been
received for a given Sequence. e.g.

<wsrm:SequenceAcknowledgement
xmlns:wsrm="http://docs.oasis-open.org/whatever">
  <wsrm:Identifier>http://example.org/mysequence/1234</wsrm:Identifier>
  <wsrm:AcknowledgementRange Upper="0" Lower="0">
</wsrm:SequenceAcknowledgement>

Related issues: none
Cheers,
Christopher Ferris
STSM, Emerging e-business Industry Architecture
email: chrisfer@us.ibm.com
blog: http://webpages.charter.net/chrisfer/blog.html
phone: +1 508 377 9295



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