W3C XML Protocol Working Group, Abstract Model subgroup
An Abstract Model for Intermediaries
Concepts
An XML Protocol message may be delivered through zero or more
intermediaries.
The XML Protocol message specifies a set of intermediaries to visit,
and the order in which they will be visited. The list of intermediaries,
as specified by the sender, is called the initial path.
An XML Protocol intermediary may modify the path before forwarding the
message to the next intermediary in the chain, and hence possibly change
this next intermediary. This permits to cater for cases where the full
path is not known in advance, for example where there exists a proxy or
caching server along the way.
An intermediary may only add to the path. More precisely, it may only
add one or more nodes to visit before the original next hop.
An intermediary must record its identity/address within the message,
before forwarding it to the next intermediary in the path. This permits
to record the actual route followed by the message.
An XML Protocol response follows the same path as the corresponding
request, but in reverse order.
The recorded route is used to compute the reverse path.
When a fault occurs at an intermediary, further message forwarding is
cancelled, and the fault is delivered as a response through the reverse
path.