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 79226 - Validation fails for web service activities without portType attribute
Summary: Validation fails for web service activities without portType attribute
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-27 15:30 UTC by Andrey Yamkovoy
Modified: 2006-07-13 16:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Yamkovoy 2006-06-27 15:30:45 UTC
According bpel schema attribute 'portType' is optional for following 
activities: Receive, Reply, Invoke and onMessage.

Steps to reproduce:
- Create Synchronous sample project.
- Open bpel source editor.
- Remove optional attribute 'portType' from Receive activity 'start'.
- Validate bpel.

Result:
- Receive activity on diagram marked with red color.
- Validation fails with following output:

E:/SUN/Temp/bbbb/SynchronousSample2/SynchronousSample2/src/SynchronousSample.bpe
l:29,7
Element "receive" has reference to external "WSDL" element ( via "operation" 
attribute value ) and this element cannot be found. Please check namespace 
declarations, "import" elements, attribute value or name of referenced element.
Comment 1 Denis Anisimov 2006-06-27 15:43:36 UTC
The problem was in bad resolving algorithm for reference.
Comment 2 Andrey Yamkovoy 2006-07-13 16:29:32 UTC
Fixed. Validator works correctly if 'portType' attribute missed.