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.
-have a ws from WSDL -have an external schema file 1) invoke add operation action and press "Import XML Schema" 2) add an external schema (close the dialog using "OK" button) 3) close the add operation dialog by pressing "Cancel" button 4) refresh the service (check use original file) => ends with "Error: An I/O error occured. tmp/EJBModule2/src/conf/xml-resources/web-services/NewWebServiceFromWSDL/wsdl/AddNumbers.wsdl" (and the service is not refreshed) 5) close the project or the IDE => "Save" dialog for the local WSDL file appears - since I've finally pressed "Cancel" in the Add Operation dialog I'd expect all changes to be thrown away, but local WSDL is modified (OTOH not yet saved) and contains import for the schema from step 3 above
One more observation - the local WSDL file is saved after adding an external schema, but still marked as modified (remains open for writing?) after pressing "Cancel" in the Add operation dialog
ImportSchemaListener writes the import statement to the WSDL whether or not the Add Operation dialog is cancelled or not.
moving opened issues where TM != dev to TM=TBD
See the issue 150551.
Fixed. See the issue 122687.
Integrated into 'main-golden', will be available in build *200812100201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/f87a649fbee2 User: mkuchtiak@netbeans.org Log: Fixing multiple P4 issues(e.g. #122687, #122694, #150551) related to Add WS Operation dialog on WS created from WSDL. Action puts new schema elements to wsdl file instead of to XML schema, which is not what user really wants. Modifying wsdl using WSDL editor is better option