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 100154 - On Message branch of Pick Activitie wrong compiling
Summary: On Message branch of Pick Activitie wrong compiling
Status: CLOSED DUPLICATE of bug 116242
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Validation (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-05 19:16 UTC by Oleg Barbashov
Modified: 2008-04-11 13:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Pick activitie wrong compiling (49.07 KB, application/x-compressed)
2007-04-05 19:18 UTC, Oleg Barbashov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Barbashov 2007-04-05 19:16:58 UTC
On Message branch of Pick Activitie with EMPTY Input Variable is compiled
without any errors. Sample project is included.
Comment 1 Oleg Barbashov 2007-04-05 19:18:26 UTC
Created attachment 40516 [details]
Pick activitie wrong compiling
Comment 2 Vladimir Yaroslavskiy 2007-04-11 15:39:47 UTC
Please provide details: is it runtime restriction or requirement from specification?
Comment 3 Oleg Barbashov 2007-04-11 15:53:12 UTC
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" 
Comment 4 Nikita Krjukov 2007-07-05 19:34:42 UTC
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. 
Comment 5 Andrei Chistiakov 2007-09-04 10:10:26 UTC
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.
Comment 6 Andrei Chistiakov 2008-01-17 11:09:13 UTC
Changed target milestone from Sierra to 6.1 in order to display correct info on
NB 6.1 dashboard
Comment 7 Vladimir Yaroslavskiy 2008-02-29 15:05:37 UTC
This issue is the part of # 116242.

*** This issue has been marked as a duplicate of 116242 ***