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.
I generated a REST service from DB tables. Deployed the service to gfv4.1. The service method i tested works. When I right click project - new RESTful Java Client and select the URL of deployed service i get a properly built java client without compilation errors. When I register that same URL with the IDE as a registered REST web service and then try to generate a RESTful java client from the registered REST service I get bad generated code. I will upload both of the generated clients - good, and bad - and the application.wadl from the deployed service.
correction - the web service that works was selected as 'from project' the one that fail was selected as IDE registered.
Created attachment 153481 [details] wadl file generated without ?detail=true
Created attachment 153482 [details] wadl file generated as .../application.wadl?detail=true cannot get IDE to generate the com.att.db.paymentcsiinfo REST client. Does work if i select the com.att.db.paymentcsiinfo REST resource with 'From Project'
correction - replace com.att.db.paymentcsiinfo with com.att.felix.db.paymentcsiinfo
Created attachment 153483 [details] good file generated - as from project
Created attachment 153484 [details] bad generated file - as IDE Registered
Created attachment 153485 [details] another bad file - longer
I've dug into this further - making use of the WADL projects source code - https://svn.java.net/svn/wadl~svn. The problem seems related to the import in the initial wadl provided by my service.