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.
Product Version = NetBeans IDE Dev (Build 201301010001) Operating System = Windows 8 version 6.2 running on amd64 Java; VM; Vendor = 1.7.0_10 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.6-b04 Prerequisite: Project with Web Service Reference(s) - open the source file to insert a service port - in Project tree open Web Service Reference and service ports - drag service port to the desired line where it should be inserted --> NetBeans creates code at the end of file. Should be at the place of the drop.
Created attachment 129852 [details] IDE log
Yes, and also the behaviour in Maven projects and Ant project is different. Maven Projects: try ... catch block is generated Ant Projects: private method is generated
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss