-
1. Re: To finalize, or not to finalize, that is the question
marklittle May 23, 2008 6:16 PM (in response to objectiser)Do you have a specific example that we could consider? Or I'll go back and re-read WS-CDL (it's been a while).
-
2. Re: To finalize, or not to finalize, that is the question
objectiser May 24, 2008 5:19 AM (in response to objectiser)Unfortunately, being a specification, it does not include too many examples.
The only one in the spec is example 2 in section http://www.w3.org/TR/2005/CR-ws-cdl-10-20051109/#Choreography-Coordination.
However it does not actually show the use of the finalize action to invoke the appropriate finalizer. But basically, after performing the 'CreditAuthorization' sub-choreography, the parent choreography would make a decision (i.e. a Choice) and then either finalize (i.e. invoke) the "drawDown" or "replenish" finalizer blocks, depending on whether or not the credit is used.
This just terminates the business transaction, associated with the sub-choreography, in one of two ways. However, I think this could quite easily be modelled as two further sub-choreographies that are 'performed'. -
3. Re: To finalize, or not to finalize, that is the question
marklittle May 31, 2008 9:09 AM (in response to objectiser)Yes, I think the further two sub-choreographies approach sounds more natural. Certainly that would tie in with workflows and compensation transactions.
Are we in agreement?