OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsbpel message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Clarification: how many activities within a compensation handler or a fault handler?


Title: Clarification: how many activities within a compensation handler or a fault handler?

The BPEL Schema indicates that a compensation handler or a catch clause in a fault handler can only accept a single "activity" (which could in particular be a compensate).

On the other hand, section 13.3.2 seems to indicate that multiple activities should be allowed:

"The <compensate/> form, in which the scope name is omitted in a compensate activity, causes this default behavior to be invoked explicitly. This is useful when an enclosing fault or compensation handler needs to perform additional work, such as updating variables or sending external notifications, in addition to performing default compensation for inner scopes"

and

"The use of this activity can be mixed with any other user-specified behavior except the explicit invocation of <compensate scope="Sx"/> for scope Sx nested directly within S".

Unless I am missing something obvious (in which case somebody will certainly promptly point that out to me), I'll submit a new Issue for this.

Ugo



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]