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 162876 - CASA Editor should refresh to pick up *.wsdls copied into its Process Files folder
Summary: CASA Editor should refresh to pick up *.wsdls copied into its Process Files f...
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: Composite Application (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Jun Qian
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-16 19:26 UTC by kdoizaki
Modified: 2009-12-11 19:31 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 kdoizaki 2009-04-16 19:26:33 UTC
Found using GlassFish ESB v2.1 nightly build (20090415-0722).
During testing of the External Service Unit feature in CASA Editor, I tried to re-use a BPEL exposed as an external 
SU. I copied the *.wsdl and *.xsd file into the Composite Application, but I was not able to see them in CASA Editor 
until after I clicked "Load WSDL Port".

Steps to reproduce:
(1) create the BPEL sample project, Synchronous BPEL Process
(2) deploy the SynchronousApplication CompApp project
(3) create a new CompApp project
(4) copy Synchronous.wsdl and Synchronous.xsd from Synchronous project and paste into the new CompApp
(5) in the new CompApp *.casa drag and drop the SOAP icon from WSDL Bindings in Palette to WSDL Ports section, 
creating casaPort1
(6) click the edit/pencil icon in the SOAP WSDL port to view the Properties
(7) click "..." in the field for Interface Name
(8) view the drop-down menu for Interface Name

As a result there are no selections listed in the drop-down.
The CASA Editor should refresh somehow to pick up any new *.wsdl files copied into the Process Files folder. Saving, 
closing/re-opening SA, etc does not refresh so the Interface Name drop-down list is still empty.
There is a workaround...

(9) right-click in an empty area in the WSDL Ports section
(10) select "Load WSDL Port"
(11) select the available WSDL Port (Synchronous.wsdl)
(12) go back to edit casaPort1 again and click "..." for Interface Name
Now the Synchronous portType1 is available to select.
Comment 1 kdoizaki 2009-04-16 19:29:43 UTC
Not sure how to reproduce it, but I am now seeing duplicates in the drop-down list of the Interface Name Editor 
dialog. Following the steps to reproduce, I would expect to see a blank entry and an entry for portType1. However, now 
I see 2 blank entries and 2 entries for portType1.
Comment 2 Jun Qian 2009-12-11 19:31:43 UTC
The original reported issue is by design (see Bug #124220). The Interface Name Editor inside CASA only knows interfaces referenced from the casa file. As an alternative to your workaround, you can simply rebuild the CompApp project which will update the CASA file to include all the PortTypes found in the CompApp project. 

The second issue, the duplicate entries in the Interface Name Editor, still exists in the latest GFESBv22 build. It is annoying and should be fixed.