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 217599 - REST service is not recognized
Summary: REST service is not recognized
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-30 07:00 UTC by Denis Anisimov
Modified: 2012-08-31 02:01 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 Denis Anisimov 2012-08-30 07:00:15 UTC
- Create Web project with JEE6 profile.
- Create package and Java class.
- Add @Path annotation to make class a REST service.

Result : there is no "REST services" root node with REST service as a subnode.
The issue exists only for manually created REST service.
Service created via wizard is recognized correctly.
Comment 1 Denis Anisimov 2012-08-30 12:48:41 UTC
There are a number of issues with REST service support in the
 websvc.restapi module:
- race condition with REST models access
- wrong code in REST service recognition which recognize the REST service only when REST is configured.
Comment 2 Denis Anisimov 2012-08-30 12:53:19 UTC
web-main#0387155df7af
Comment 3 Quality Engineering 2012-08-31 02:01:16 UTC
Integrated into 'main-golden', will be available in build *201208310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/0387155df7af
User: Denis Anisimov <ads@netbeans.org>
Log: Fix for BZ#217599 - REST service is not recognized