Re: WS-Routing Reverse Message Path

Bob Cunnings <[email protected]> Thu, 9 May 2002 14:33:30 -0700
Newsgroups gmane.comp.windows.devel.soap.rp
Organization Lectrosonics, Inc.
Message-ID <3CDA88BD.32717.EE6A259@localhost>
Hello,

> Hi All,
>
> When a WS-Routing Initial Sender is inserting
> a rev element into the path WS-Routing Header element
> can it only give the reverse path message endpoint only?
>

Hmmm. Good question. Section 4.4 of the spec[1] states:

"The initial sender sets the ultimate destination in the reverse path..."

It doesn't say that the sender _cannot_ insert additional <via> elements
into the reverse path after the one representing the ultimate destination. It
does seem that intermediaries are limited to the addition of a single <via>
element to the reverse path if you read section 4.4.3 strictly:

"If a "rev" element is present then add a "via" element as the first "via"
element listed in the "rev" element with a value indicating the reverse path
endpoint."

My intuition is that the intention was to limit any node, including the
sender, to the addition of a single <via> element to the reverse path, but
that is pure speculation. Maybe one of the Authors will respond.

RC

[1] http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/dnglobspec/html/ws-routing.asp

> Is it like an explicit reverse message path intermediary
> can only be inserted in the rev element by a WS-Routing Intermediary
> or a WS-Routing Initial Sender can insert it in the rev element?
>
> To make it clear let's say I have WSR-InitialSender.com,
> WSR-Intermediary1.com, WSR-Intermediary2.com, WSR-UltimateReceiver.com
>
> Is it legal WSR-InitalSender.COM send message with the following fwd, rev
> WS-Routing Header Elements
> <path>
>         <fwd>
>                 <via>http://www.WSR-Intermediary1.com/fwdIntermediary</via>
>                 <via>http://www.WSR-Intermediary2.com/fwdIntermediary</via>
>         </fwd>
>         <rev>
>
> <via>http://www.WSR-Interediary2.com/revIntermediary</via>***
>
> <via>http://www.WSR-Interediary1.com/revIntermediary</via>***
>
> <via>http://www.WSR-InitalSender.com/revMessageEndPoint</via>
>         </rev>
>         <to>http://www.WSR-UltimateReceiver.com</to>
>         <id>.....</id>
> </path>
>
> *** Are these via elements legal or only the third via element is legal
>
> Thanks in Advance.
>
> Regards,
>
> Sendhil Kumar R.
> MS .NET Developer
> Ph: 080-6610330 Extn: 3191
> www.sonata-software.com
> *********************************************************************
> Disclaimer: The information in this e-mail and any attachments is
> confidential / privileged. It is intended solely for the addressee or
> addressees. If you are not the addressee indicated in this message, you may
> not copy or deliver this message to anyone. In such case, you should destroy
> this message and kindly notify the sender by reply email. Please advise
> immediately if you or your employer does not consent to Internet email for
> messages of this kind.
> *********************************************************************