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.
1. Create a HTML5 project 4. In this project, in New File wizard, go to HTML5 -> RESTful JavaScript Client 3. Create a Java Web project 4. In this project, in New File wizard, go to Web Services -> RESTful JavaScript Client You see that there are two wizards called RESTful JavaScript Client (one available in HTML5 projects, one in Java Web projects), but they are totally inconsistent and each of them does something else. The HTML5 one is the new wizard added in NetBeans 7.3: http://wiki.netbeans.org/NewAndNoteworthyNB73#REST_service_consumption The Java Web one is some old stuff from 2008 or earlier that does something completely different (see commit history for websvc.rest/src/org/netbeans/modules/websvc/rest/wizard/ClientStubsIterator.java) We should make this consistent between the two, perhaps by just deleting the old stuff and making the new stuff available in all kinds of projects.
I think the purpose of old code was primarily for testing of REST services.
I did not explore the code much, but I thought that the way to do web service testing was through the "Test RESTful services" action in the project's popup menu, not through new project wizard.
Neither do I remember it much. But if you follow the wizard and run the generated code the screen says "Test RESTful Web Service Client Stubs". It does not work for me though - something broken in the generated code.
Fixed. The old XHR based JavScript wizard was replaced by new RESTful JavaScript wizard. So now, the Web Services category and HTML5 category contain the same wizard. See: https://hg.netbeans.org/web-main/rev/be2dbca5483d
Thanks Milan - so is the old wizard still used somewhere? If not, could the code be removed completely?
Code removed completely, including ResourceBundle keys: https://hg.netbeans.org/web-main/rev/d30ad92eb46a
Integrated into 'main-silver', will be available in build *201308022300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/be2dbca5483d User: Milan Kuchtiak <mkuchtiak@netbeans.org> Log: #226188: Replacing old JavaScript client with new one (based on Backbone)
Integrated into 'main-silver', will be available in build *201308052300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/350ff3239c89 User: Milan Kuchtiak <mkuchtiak@netbeans.org> Log: #226188: module clean-up
Fixed wizard bundle name: http://hg.netbeans.org/web-main/rev/974c86d8137e