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 - REST wizard requires web.xml
Summary: REST wizard requires web.xml
Status: VERIFIED INCOMPLETE
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-09 17:33 UTC by David Konecny
Modified: 2009-12-10 12:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.