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 241827 - Adding Web Service that is generated by JAX-RS (Jersey 1.11) fails to download linked XSD
Summary: Adding Web Service that is generated by JAX-RS (Jersey 1.11) fails to downloa...
Status: RESOLVED WONTFIX
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 8.0
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-13 14:55 UTC by sicruise
Modified: 2016-07-07 09:54 UTC (History)
1 user (show)

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 sicruise 2014-02-13 14:55:57 UTC
The wadl generated by Jersey is called application.wadl

This description file has a link to an xsd called xsd0.xsd

When you add this service as a web service under the services tab it adds without an error or logging in (netbeans folder)/var/log/messages.log

on inspection of in this case ~/.netbeans/7.4/config/WebServices/application where application is the name of my RESTful service there is no folder application.wadl created in the same folder where application.wadl.xml is located.

So when generating a client against this it fails to load artifacts as the xsd appears to ide to be 0 bytes (Strange way to handle a file not found...). There appears to be a registry of this in the project because deleting generated client class and regenerating just skips the artifacts step.

To work around this I put the xsd in the location that the IDE expects and created a new project and generated the RESTful client again and everything appears to work.
Comment 1 steveoh444 2014-07-02 13:15:40 UTC
Same here with NetBeans 8.0 and jdk 1.7.0_51-b13
Comment 2 Martin Balin 2016-07-07 09:54:08 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss