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.
1. Unzip and open the attached project (BpelTest.zip), open BPELTest.bpel 2. Validate BpelTest.bpel Result: - the error message appears: "ERROR: If the portType attribute is included for readability, in a <receive>, <reply>, <invoke>, <onEvent> or <onMessage> element, the value of the portType attribute must match the portType value implied by the combination of the specified partnerLink and the role implicitly specified by the activity." But the real reason of this validation error - <partnerLink...> doesn't contain attribute "myRole". 3. Add myRole="SchufaPortTypeRole" at the end of <partnerLink...>: <partnerLink name="PartnerLink1" xmlns:tns="http://afb.de/Schufa" partnerLinkType="tns:Schufa" partnerRole="SchufaPortTypeRole" myRole="SchufaPortTypeRole"/> 4. Validate BpelTest.bpel Result: - validation has passed
Created attachment 60612 [details] Test project
Created attachment 60613 [details] Test project
The issue hasn't be fixed till 61patch1 nomination cut-off date. Marked as release61_fixes_candidate2.
The description is taken form Static Analysis Requirement, see bpel specification. It is rule SA00005. I added comment to validation description: "It means that Invoke requires partnerRole, another - myRole." I hope it helps. fixed in trunk: bfbc151d4f20 http://hg.netbeans.org/main/rev/bfbc151d4f20
Verified. Returned back to patch1 candidates list
changed status.
The fix has been ported into the release61_fixes branch. http://hg.netbeans.org/release61_fixes/rev/5733b28b92bc