[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: RE: [bt-spec] BTP Issue 29 : Redirection
There
was no comment on my message a month ago on this, so I'm going to propose a
solution on that basis.
This
solution is a bit more compliated than some of the others have been. I have put
in a rationale, as part of the solution. This can be the basis for text in
to go in the model/explanation part (the rationale here has
deliberately been made concise)
The
main part of the rationale is about the REDIRECT message and the
Supeiror:Inferior relationship - this makes only editorial changes to the
normative part.
The
FAULT/redirect does make technical changes
Proposed solution
Rationale
Redirection is needed in BTP, at the abstract level, to
support implementation approaches where a recovered actor playing Superior or
Inferior roles has a different address to its original one. If a particular
carrier protocol has support for redirection in a way that is sufficient, then a
BTP binding to that carrier can map REDIRECT to that mechanism, and the REDIRECT
message itself (as an XML or other encoding) would not appear in exchanges using
that binding.
The
description of "implicit messages" in the carrier protocol binding omits
mentioning that a message may be implicit because it is mapped to carrier
construct (although this is in fact what happens that section in the SOAP
binding specifcation).
SOAP
1.1 does not have such a mechanism, and for the present bindings the REDIRECT
message is used for the Superior:Inferior relationship.
The
abstract message text in 0.9.2 is aligned with this, but the Redirector role
description is not.
On the non-persistent
relationships, communication is always initiated by one actor (in role of
Initiator, Enroller, Terminator, Status requestor, Redirector) which has the
address of the other (Factory, Superior, Decider, etc.), but the target of the
first message will use the reply-address (or reply mechanisms of the carrier)
for the reply and does not know the other's address a priori. (The messages are all effectively request/response).
The REDIRECT message is therefore not used on these
relationships.
However, since the actors on the non-peristent
relationships can also move (often because they are also Supeiorr or Infieorr),
a new FAULT/redirect can be used as a response to any of the request/response
messages, carrying a list of one or more replacement
addresses.
Changes
In the
Redirector role desription, change the first paragraph to:
Sends
a REDIRECT message to inform a Superior or Inferior that an address previously
supplied for the peer (i.e. an Inferior or Superior, respectively) is no longer appropriate, and to supply a
new address or set of addresses to replace the old
one.
Change
the parenthesis at the end off the paragraph that begins "If a Superior moves
.."
(Note that the inbound message may itself be a REDIRECT message, in which case the Redirector shall use the new address in the received message as the target for the REDIRECT that it sends.) In the
carrier protocol binding proforma, paragraph "Implicit messages", add
"carrier-protocol mechanisms," before the first "application
messages".
In the
list of faults, add a row
fault-type = Redirect
Meaning = The
target of the BTP message now has a different
address
fault-data =
Set
of BTP addresses, to be used instead of the address the BTP message was received
on
In
the fault list for REQUEST_STATUS and
REQUEST_INFERIOR_STATUSES add
Redirect
– if the intended target now has a
different address
In
the fault list for ENROL add
Redirect
– if the Superior now has a different
address-as-superior In the fault
list for BEGIN add
Redirect
– if the Factory now has a
different address
In
the fault list for
PREPARE_INFERIORS,CONFIRM_TRANSACTION,CANCEL_TRANSACTION,CANCEL_INFERIORS
add
Redirect
– if the Decider now has a
different
address-as-decider
Align
the XML with the additions for
FAULT.
Peter
From: Peter Furniss
[mailto:peter.furniss@choreology.com] Sent: 25 January 2002 11:49 To: bt-spec@lists.oasis-open.org Subject: RE: [bt-spec] BTP Issue 29 : Redirection
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC