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: RE: [wsbpel] Clarification: how many activities within a compensation handler or a fault handler?


Ugo,

The language is suggesting the possibility of compensation handler bodies such as


<sequence>
  ...
  <compensate/>
  ...
</sequence>


With a single <sequence> activity.  Perhaps an example would clear up any confusion.

Satish
 
________________________________________
From: Ugo Corda [mailto:UCorda@SeeBeyond.com] 
Sent: Wednesday, January 28, 2004 2:00 PM
To: wsbpel@lists.oasis-open.org
Subject: [wsbpel] 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]