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.
Getting following error see attached bpel: C:\Documents and Settings\radval\BpelModule4 \src\correlation\CorrelationOnMessageN5.bpel:33: column:12 ERROR: A "start activity" is a <receive> or <pick> activity that is annotated with a createInstance="yes" attribute. Activities other than the following: start activities, <scope>, <flow>, <sequence>, and <empty> MUST NOT be performed prior to or simultaneously with start activities. The bpel has flow as start activity which has <pick> as one of parallel activity so there is a <pick> and we need to do above check inside <flow> as well and allow <flow> to be start activity.
Created attachment 32165 [details] bpel
Created attachment 32166 [details] wsdl
This is failing the build in a bpel project.
Adding to Ritesh comment. Not just flow, but all the "allowed" activities need to be handled similarly - i.e. check inside the allowed activity for the presence of one of the mandatory activities. i.e. you need a mandatory "start" actitivity (receive or pick with create instance = yes) INSIDE an allowed actitity (<scope>, <flow>, <sequence> ) AND algorithm must disregard <empty> activities as irrelevant to this order.
May be I'm wrong , but please see at this example ( just part from example ): <flow> <pick createInstance="yes"> <onMessage partnerLink="OneWayLink" portType="ns0:correlationOnMessageFirstN5PortType1" operation="correlationOnMessageFirstN5Operation1" variable="correlationOnMessageFirstN5Operation1_Output"> <correlations> <correlation set="corrSetN" initiate="yes"/> </correlations> <empty /> </onMessage> </pick> <receive name="correlationOnMessageFirstN5Operation" partnerLink="TwoWayLink" portType="ns0:correlationOnMessageFirstN5PortType" operation="correlationOnMessageFirstN5Operation" variable="correlationOnMessageFirstN5Operation_Output"> <correlations> <correlation set="corrSetN"/> </correlations> </receive> </flow> In this case flow have two activities : pick and receive. Pick have createInstance set to "yes" BUT receive don't have this attribute. It means that pick and receive will be performed simultaneously but receive is not START ACTIVITY. Here is the specification rule : A "start activity" is a <receive> or <pick> activity that is annotated with a createInstance="yes" attribute. Activities other than the following: start activities, <scope>, <flow>, <sequence>, and <empty> MUST NOT be performed prior to or simultaneously with start activities.
Close INVALID issue against previous releases