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.
Build: Gavotte daily build 070131_27 Right now, if A.wsdl file imported B.wsdl file, and then B.wsdl is moved to another project. A broken issue would be detected by validating A.wsdl. Right click the broken import item, there isn't a "Customize" menu item. What user has to do now is to delete the broken import item, than add it again. It would be good to have the "Customize" feature.So user can fix the issue in one step.
Fixed in release551 branch. wsdlui/src/org/netbeans/modules/xml/wsdl/ui/view/treeeditor/WSDLElementNode.java; new revision: 1.1.2.26.4.6; previous revision: 1.1.2.26.4.5 wsdlui/src/org/netbeans/modules/xml/wsdl/ui/view/treeeditor/WSDLImportNode.java; new revision: 1.1.2.9.8.1; previous revision: 1.1.2.9
Seen on Windows XP with Gavotte build 070206 and JDK 1.5.0_10: 1. Add the attached WSDL files to a BPEL project. newWSDL.wsdl imports newWSDL3.wsdl. We will use newWSDL4.wsdl later. 2. Delete the newWSDL3 file from the Projects window. 3. Validate the newWSDL.wsdl file. There will be validation errors. 4. Right-click the newWSDL3 and choose Customize. 5. In the WSDL Import Customizer dialog, choose newWSDL4.wsdl, and click OK. ==> Note that the name on the WSDL import node is still newWSDL3.wsdl. I think the name should be changed to reflect the name of the newly-imported file.
(In case the above wasn't clear, I think this bug wasn't quite fixed in its entirety. If you think this is a new bug, let me know.)
Created attachment 38149 [details] WSDL files used in 2nd scenario
One more observation: if I shutdown and restart NB, the node for the imported WSDL then has the name of the wsdl file we imported in Step 5.
Returning to fixed status. The enhancement has been added.
Verified on Windows XP with Gavotte build 070206 and JDK 1.5.0_10. Customize is now in the context menu for a WSDL import node. There is a bug on this feature, logged as issue 94206.