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.
-go to REST palette -D'n'D some Google service -let the WSDL file be unreachable => if the retrieval of the WSDL fails (the retriever output shows some HTTP error code) then one can see following exceptions in IDE log: INFO [global]: There was an error retrieving the WSDL file. java.io.IOException: There was an error retrieving the WSDL file. at org.netbeans.modules.websvc.manager.WebServiceManager.copyWsdlResources(WebServiceManager.java:442) at org.netbeans.modules.websvc.manager.WebServiceManager.ensureWebServiceClientReady(WebServiceManager.java:148) [catch] at org.netbeans.modules.websvc.manager.model.WebServiceListModel$1.run(WebServiceListModel.java:319) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986) INFO [org.netbeans.modules.websvc.rest.component.palette.RestComponentHandler]: handleTransfer java.lang.IllegalArgumentException: Service AdSenseForContentServiceService does not exists at org.netbeans.modules.websvc.rest.codegen.model.JaxwsOperationInfo.initWsdlModelInfo(JaxwsOperationInfo.java:135) at org.netbeans.modules.websvc.rest.codegen.model.JaxwsOperationInfo.getOperation(JaxwsOperationInfo.java:163) at org.netbeans.modules.websvc.rest.codegen.model.WsdlComponentBean.deriveMimeTypes(WsdlComponentBean.java:98) at org.netbeans.modules.websvc.rest.codegen.model.WsdlComponentBean.<init>(WsdlComponentBean.java:76) at org.netbeans.modules.websvc.rest.codegen.model.WsdlComponentBean.<init>(WsdlComponentBean.java:64) at org.netbeans.modules.websvc.rest.codegen.WsdlComponentGenerator.<init>(WsdlComponentGenerator.java:92) at org.netbeans.modules.websvc.rest.component.palette.RestComponentHandler$1.run(RestComponentHandler.java:95) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986) ad IOE) it is definitely bad idea to use "global" logger instance for logging in some module (P4) ad IAE) it would be good to show some message to the user which will inform him that nothing will be generated because of missing WSDL (and maybe asks him if he wants to re-try to generate the client) (P3)
The fix require code change in RestComponentHandler to coordinate all error / exception feedback along with the other 2 dialogs (parameter input dialog and progress dialog). The UI would be better if we could consolidate progress and status feedback, input parameter table into one single dialog. Target for 6.0
Given planned FCS tasks, re-target as post 6.0.
Closing this issue as wontfix because the REST component palette has been removed from NB 6.1
v.