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.
I have web services in a web project annotated w/ @WebService. The project auto-detects the web service and adds it to the web.xml. I am unable to find the way around this. There are multiple problems here: 1. I want to use jaxws-spring (jaxws commons @ java.net) support which means I will not have the standard servlet listener in web.xml and I will not have a sun-jaxws.xml file in WEB-INF. I can't keep NetBeans from creating these entries without uninstalling the web service plugin. 2. If I commit a project to some form of source control when I don't have the web services plugin installed and a user who does have it installed checks my project out, his web.xml will automatically be altered build scripts created. 3. NetBeans always generates the jaxws entities. I want to control this myself meaning NetBeans should not force me to use their jaxws-build.xml. In conclusion, it is a defect to support things like Spring and JAX-WS and not let anyone take them to their full advantage. It seems NetBeans assumes the user is not smart enough to make his own decisions about how JAX-WS services should be implemented in his war file. Please provide a way (or inform me if there already is one that I can't find) to turn off the NetBeans web services plugin for a project entirely. This setting should be able to persist to a source controlled project.
Changing this to an Request for Enhancement (RFE)
netbeans 6.7M3: i get a yes/no dialogue ot create sun-jaxws.xml and modify web.xml. If I say no, netbeans asks it again (and again) next time I build.
Bug 132591 already describes the problem with the web.xml / sun-jaxws.xml which is generated too often / in wrong cases. Maybe this problem will also be solved when bug 132591 has been solved. Dependency added