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 180806

Summary: BPEL designer gets out of sync after Web services from EJB is updated
Product: soa Reporter: teodoro <teodoro>
Component: BPELAssignee: Sergey Lunegov <slunegov>
Status: CLOSED INVALID    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description teodoro 2010-02-16 17:30:27 UTC
I'm having the same problem as Bug 85184 but with Netbeans 6.7.1 bundled with OpenESB v2.2.

Steps:
1. create a WebService on EJB container.
2. create a BPEL project and a BPEL process
3. copy WSDL from EJB WS to BEPL process src directory
4. use the WS on the BPEL process.
5. change the EJB WS adding something new o just update.
6. copy WSDL again to BPEL.
7. BPEL lint flags error on all invokes that uses the WS.

I'm getting around exiting Netbeans and launch again. When it is back no errors anymore.

So I wonder if there is a refresh that has to be done after WSDL is copied over for the update. But I can't find where it is.
Comment 1 Vladimir Yaroslavskiy 2010-02-17 00:39:22 UTC
Use Referenced Resources feature

1. Create your EJB project with WebService
2. Add reference to the wsdl file in your BPEL project:
3. Select "Referenced Resources" node under project root
4. And invoke "Add Local..." action in the popup menu
5. Choose the wsdl file in the EJB project
6. See that reference to the wsdl is added
7. D'n'd the resource node on the BPEL diagram to PartnerLink area

Note that there is no any copy of wsdl file in BPEL project, only
reference.
Comment 2 senthilprabhu 2010-11-16 13:27:43 UTC
The local referenced resources works fine.
This is verified to work correctly in CAPS 63 M5 build (20101103-1248).
This issue can be closed.