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.
Right now, webservice mapping file is generated at META-INF/wsdl or WEB-INF/wsdl, but according to the BluePrints book "Designing Web Services with the J2EE 1.4 Platform", page117-119, it should be placed under META-INF or WEB-INF.
Also, file names in META[WEB]-INF are not aligned with BluePrints naming convention:- http://java.sun.com/blueprints/code/namingconventions.html see the names of mapping file and config file in section 4.
Changing the location of the mapping file as referenced in new project is fairly easy. The issue here is upgrading existing projects. If this location is changed, previously existing projects that contain web services or clients will have a new build file referring to the new location and existing webservices.xml or web.xml/service-ref entries that refer to the old location. The only way to safely upgrade the existing projects is via a project open hook that detects the old DD entries and fixes them. This will add unnecessary overhead to all project open's for a problem that should be in the minority. However, if this is not done, anyone that has a preexisting project fitting this description will have to manually make the changes, or deployment will fail.
Since we didn't release officially release of j2ee features, QE team agrees with changing location without support update existing projects. I suggest to add comment 'How does update existing project ' in release note.
I agree with Petr B - let's fix this now. The final release will be downloaded by five times as many users as the prereleases; now we don't have the real exposure yet. Of course we need to fix all our sample projects that we ship or offer for download on the web. The reset can be release noted.
Fixed and integrated (no upgrade code - existing projects will require manual upgrading.) See next attachment for tentative upgrade instructions.
Created attachment 21306 [details] Instructions on upgrading existing projects that contain web services or clients
v.