← Prev in month ← Prev in thread
Next in thread → Next in month →

Issue 44 – Summary so far…

From
Marin, Mike <>
Date
2003-08-19T00:20:38+00:00
ID
Thread
Issue 44 – Summary so far…
This issue deals with the fact that in the current syntax the Invoke
activity requires a partnerLink and a portType. However the partnerLink
refers to a partnerLinkType, which also includes the portType. Therefore
the portType in the Invoke is redundant. So far, there is no
disagreement on this analysis.
 
There are two possible solutions (or proposals):
 
1- (proposal 1): Just remove the portType from the invoke activity and
use the portType that corresponds to the partnerRole in the partnerLink.
This covers most if not all the use cases. With the only exception of a
process that wants to call itself, in which case you will need to create
another partnerLink (using the same partnerLinkType) and use it instead.
So, in this case you end with two partner links. 
 
2- (proposal 2): Remove the portType from the invoke activity, but add
an optional role. When the role is specified, it must correspond to one
of the two roles defined in the partnerLink. If the role is not
specified the partnerRole in the partnerLink should be assumed. 
 
With this second proposal, in most cases the syntax will look exactly
the same as with the first proposal. But, if a process needs to call
itself, instead of adding a partner link, it just adds a role to the
invoke activity.
 
Both solutions are similar and better than the current syntax. The only
real difference is the optional role on the invoke activity to preserve
the functionality currently specified, but that seems to be uncommon.
 
Regards,
Mike Marin
← Prev in month ← Prev in thread
Next in thread → Next in month →