1. Unzip and open the attached project (BpelTest.zip), open BPELTest.bpel
2. Validate BpelTest.bpel
- 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"
4. Validate BpelTest.bpel
- validation has passed
Created attachment 60612 [details]
Created attachment 60613 [details]
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
Verified. Returned back to patch1 candidates list
The fix has been ported into the release61_fixes branch.