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 # : 200711131200 ] [ JDK VERSION : 1.6.0_02 ] When in Design mode, executing Remove Operation removes a web method from the source code, but it is not reflected in Design mode. It looks like it doesn't remove the method whereas switching to Source code reveals the truth - it is removed. The tab of the web service doesn't even show the source code's changed. It's possible to execute the Remove Operation again, but no changes are done. Very confusing and visible, hence P1.
Jacek, do you have exact steps for reproducing this? It seems to me like this is valid only for the case there is only one web method (or one is removing the "last" method). In case the web service have >1 operations then everything works correctly, right?
Correct. I had only one web method.
Fixed in trunk: http://websvc.netbeans.org/source/browse/websvc/design/src/org/netbeans/modules/websvc/design/javamodel/ServiceModel.java?r1=1.14&r2=1.15 Service Model model1 should be merged with ServiceModel model2 even if model2 has no methods
Verified in trunk on hudson build 4493.
The change looks good. Kindly integrate into the 6.0 branch.
added test (to trunk only): http://websvc.netbeans.org/source/browse/websvc/design/test/unit/src/org/netbeans/modules/websvc/design/javamodel/ServiceModelTest.java?r1=1.20&r2=1.21
Fixed in release60 branch : http://websvc.netbeans.org/source/browse/websvc/design/src/org/netbeans/modules/websvc/design/javamodel/ServiceModel.java?r1=1.14&r2=1.14.2.1
Verified in own 6.0rc2 build from current release60 branch.