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.
On Message branch of Pick Activitie with EMPTY Input Variable is compiled without any errors. Sample project is included.
Created attachment 40516 [details] Pick activitie wrong compiling
Please provide details: is it runtime restriction or requirement from specification?
From description of the Pick Activitie: "The semantics of the <onMessage> event are identical to a <receive> activity" From description of the Receive Activitie: "If a WSDL message definition DOES NOT CONTAIN ANY PARTS, then the associated variable attribute MAY be omitted"
Actually I didn't understand what is the problem. What the "wrong compilling" means? Is there a compilation errors? What does it mean the EMPTY Input variable? Does it mean that it is not assigned at all or it is a variable of a message type without any part specified? It's necessary to investigate the BPEL specification about the subject. I suppose the pick or receive without an input variable specified could be correct case.
For 'On Message' handler within a Pick activity the value of 'variable' attribute must be specified. According to BPEL specification, the 'variable' attribute cannot be omitted until: - <fromPart> element(s) are used instead of 'variable' attribute; - the WSDL message definition does not contain any parts. So in our case, the BPEL with the omitted 'variable' attribute shouldn't pass validation but it does. That's the bug. I'm reopening it.
Changed target milestone from Sierra to 6.1 in order to display correct info on NB 6.1 dashboard
This issue is the part of # 116242. *** This issue has been marked as a duplicate of 116242 ***