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.
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.
Created attachment 39202 [details] BPEL Project
Exit activity is not supported by runtime. When we support we support this use case.
Fixed.
Verified with NetBeans IDE 6.1 RC1 (Build 200804100130).