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 178398

Summary: REST wizard requires web.xml
Product: webservices Reporter: David Konecny <dkonecny>
Component: RESTAssignee: Milan Kuchtiak <mkuchtiak>
Status: VERIFIED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description David Konecny 2009-12-09 17:33:40 UTC
REST Services wizards (from Pattern and Stub one) requires presence of web.xml in project otherwise templates are not shown. It also happened to me that generated WS did not work because ServletAdaptor was not registered in web.xml (I would assume wizard to check that and fix that if necessary).
Comment 1 Milan Kuchtiak 2009-12-10 02:11:41 UTC
What project type do you mean ?
In Java EE 6 web project web.xml isn't needed for REST services.
@ApplicationPath annotation replaces web.xml entries.
Comment 2 David Konecny 2009-12-10 12:36:38 UTC
It was one of my older notes but re-testing it on latest build it works fine. Sorry for false report.