How to generate a click client JavaScript from WADL?

I want to create a JavaScript stub to call the RESTful web service defined in this wadl: http://idi.fundacionctic.org/mobSerenoaWS/application.wadl

I tried with the NetBeans REST Web Service plugin on NetBeans 7.0.1. I loaded Wadl into my file system and started generating a JavaScript stub. He created many JavaScript files, but they are incomplete. For example, the resources object is an empty array.

Could you tell me what I am missing to create an executable JavaScript script with NetBeans? Or do you know any other tool for creating JavaScript stubs from WADL?

Note. NetBeans includes a complete run example:

New Project / Samples / Java / REST Web Services: Client Database

+4
source share
1 answer

Could not find it, although you can manually create this API with my jquery.rest plugin. I could add a WADL analysis, although it doesn't seem very popular - Why is WADL slow to absorb? . I will add a problem for her, and if she gets some +1, I will spend some time on it.

+2
source

Source: https://habr.com/ru/post/1395785/


All Articles