W3C home > Mailing lists > Public > public-ws-chor-comments@w3.org > February 2005

Perform mapping of roles

From: Gary Brown <gary@enigmatec.net>
Date: Thu, 3 Feb 2005 11:40:51 -0000
Message-ID: <003e01c509e5$3a720980$0200a8c0@LATTITUDEGary>
To: <public-ws-chor-comments@w3.org>
Hi

In section 2.5.3, the syntax for mapping of roles in the bind statement implies that the mapping is inconjunction with the variables being bound - however the text implies that the binding of variables is independent of the binding of roles.

This needs to be clarified - e.g. if we wanted to map two variables, but only one role, how would this be encoded?

Alternatively, there is a coupling between the variables and roles, in which case the text is not clear.

I also think we need to have text and example to explain why binding roles is relevant. I guess it is to make the performed choreography more re-usable - but the only situation I can see this happening is if two separate participant types, with their own role types, use a common interface - and then the performed choreography references a third role type (possibly participant independent) that also uses that same interface. In this case, both participants can make use of the performed choreography by mapping their local role type to the common role type. Is this the reason for having this role mapping? Is this complexity necessary?

Regards
Gary
Received on Thursday, 3 February 2005 11:41:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:20:10 GMT