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 145040 - [client stubs] Stubs from WADL do not generate code for resources 2+ level deep inside WADL
Summary: [client stubs] Stubs from WADL do not generate code for resources 2+ level de...
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Ayub Khan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-25 18:15 UTC by Ayub Khan
Modified: 2008-08-28 06:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
wadl (1.38 KB, text/xml)
2008-08-25 18:16 UTC, Ayub Khan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ayub Khan 2008-08-25 18:15:39 UTC
Steps to reproduce

0. Download the attached application.xml to your machine.
1. In NB6.5, create a web project
2. Right click and select "RESTful Web Service client stubs" action.
3. Check to use WADL, then browse to select the attached wadl file.
4. You will see under /web/rest/_92_168_0_104_8080_smart_selection_rest_rest/Book.js for the top level resource, 
but for any inner level resoures for resource with path "/book" there are no stubs generated.
Comment 1 Ayub Khan 2008-08-25 18:16:59 UTC
Created attachment 68263 [details]
wadl
Comment 2 Ayub Khan 2008-08-27 19:52:33 UTC
Fixed.
Comment 3 Quality Engineering 2008-08-28 06:40:00 UTC
Integrated into 'main-golden', available in build *200808280201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/ddae43bffcfd
User: Ayub Khan <ayubskhan@netbeans.org>
Log: Fix issue#145040 - [client stubs] Stubs from WADL do not generate code for resources 2+ level deep inside WADL