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: New Issue - Clarification needed on <throw>'s @variable


Title: New Issue - Clarification needed on <throw>'s @variable

Section 10.6 describes the <throw> activity as having a name and an optional variable attribute. There are no restrictions placed on the type of variable that can used with a <throw>. The fault matching code outlined in Section 12.4 precludes the possibility of accessing non-element or non-message fault data that exists as part of a caught fault so it seems pointless to allow users to compose a <throw> that references a non-element or non-message variable.

I propose the following change in Section 10.6

From:

The <throw> activity is used when a business process needs to signal an internal fault explicitly. A fault MUST be identified with a QName. The <throw> activity provides the name for the fault, and can optionally provide data with further information about the fault. A fault handler can use such data to handle the fault and to populate any fault messages that need to be sent to other services.

To:  (2 sentences added to first paragraph indicated in bold)

The <throw> activity is used when a business process needs to signal an internal fault explicitly. A fault MUST be identified with a QName. The <throw> activity provides the name for the fault, and can optionally provide data with further information about the fault. A fault handler can use such data to handle the fault and to populate any fault messages that need to be sent to other services. If the optional faultVariable attribute is specified then it MUST reference a variable of type element or message. This restriction on the variable type MUST be enforced during static analysis.





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