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.

Bug 142971 - Web services detection in project limiting functionality
Summary: Web services detection in project limiting functionality
Status: NEW
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-WS (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 2 votes (vote)
Assignee: Roderico Cruz
URL:
Keywords:
Depends on: 132591
Blocks:
  Show dependency tree
 
Reported: 2008-08-05 21:37 UTC by kodaman
Modified: 2009-08-11 15:53 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kodaman 2008-08-05 21:37:12 UTC
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.
Comment 1 Roderico Cruz 2008-09-22 03:06:05 UTC
Changing this to an Request for Enhancement (RFE)
Comment 2 catweasle 2009-04-07 13:10:40 UTC
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.
Comment 3 gsauerstein 2009-08-11 15:53:41 UTC
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