This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 97270 - onEvent and termination
Summary: onEvent and termination
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Project (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Sergey Lunegov
URL:
Keywords:
Depends on: 99088
Blocks:
  Show dependency tree
 
Reported: 2007-03-06 12:02 UTC by mfoster
Modified: 2008-04-11 13:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
BPEL Project (86.84 KB, application/octet-stream)
2007-03-06 12:03 UTC, mfoster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mfoster 2007-03-06 12:02:15 UTC
This is a follow-on from 97268.

In the BPEL 2.0 spec, section 12.7.1, the example used for "onEvent" is an
asynchronous cancel. In this example they show a bit of BPEL as which has
"onEvent" followed in the subsequent scope with an "exit". This is exactly what
you would want to do with an "onEvent" - when for example a cancel request is
received at any point in the life of the BP, terminate the BP.

When you try to do this in a BPEL project however by dragging an "exit" into the
scope under an "onEvent" you get an error....

"Element "exit" as child of "onEvent" is not supported by the Sun BPEL SE. Do
not use this element in your process."

...well, its supported by the BPEL 2.0 spec and should be supported by the BPEL
SE, otherwise "onEvent" is more or less useless.

Project attached.
Comment 1 mfoster 2007-03-06 12:03:38 UTC
Created attachment 39202 [details]
BPEL Project
Comment 2 Murali Pottlapelli 2007-07-13 19:07:27 UTC
Exit activity is not supported by runtime. When we support we support this use case. 
Comment 3 Sergey Lunegov 2008-01-16 13:09:20 UTC
Fixed.
Comment 4 Andrei Chistiakov 2008-04-11 13:27:37 UTC
Verified with NetBeans IDE 6.1 RC1 (Build 200804100130).