webservice.js icon indicating copy to clipboard operation
webservice.js copied to clipboard

Add support for WSDL / WADL Generation

Open Marak opened this issue 14 years ago • 1 comments

from email

In addition to being able to describe web-service entry points as JSON, we also need to support WSDL and WADL formats.

See:

http://en.wikipedia.org/wiki/Web_Application_Description_Language http://en.wikipedia.org/wiki/Web_Services_Description_Language

To properly implement this would require a complete rebuild of the current module reflection. If you didn't want to do this, you could, in theory, write a simple function that transformed the current routing table + JSON schemas into both the WSDL and WADL formats.

I will accept non-breaking patches for either solution.

Marak avatar Sep 23 '11 01:09 Marak

Since I'm the one that bugged Marak about this, I'll add that a work-around, quite satisfactory, is to submit a sample URL path to: http://tomayac.de/rest-describe/latest/RestDescribe.html

The site has options for adding input, output descriptions and the like, and returns valid WADL.

dlcurry avatar Sep 28 '11 05:09 dlcurry