WADL seams to be the better (light-weight) way to annotate REST Services.
My question: Do you know a visual Tool (Online, Eclipse Plugin or other) to create and manage the WADL Specification?
Thanks.
Procedure. Open the REST API test tool from the Rule Execution Server console. In the window of the REST API test tool, click REST API WADL file. You are prompted to open or save the file.
WADL is intended to simplify the reuse of web services that are based on the existing HTTP architecture of the web. It is platform and language independent and aims to promote reuse of applications beyond the basic use in a web browser. Additional information about WADL can be found on the W3C website.
WADL is equivalent to SOAP's web services description language. WSDL is a machine-readable description with the current version of 2.0. 05. It is lightweight, easy to understand and write as compared to WSDL.
I am surprised the answer above was accepted, they are only links for tools validating the WADL, not creating it. Altova's XMLSpy indeed has nice visual WSDL editor but there is no option for WADL. You can only edit it there as normal XML but then you only get normal XML editor.
The closest thing to visual WADL editor I found is this plugin to Eclipse:
http://www.myeclipseide.com/module-htmlpages-display-pid-10.html
You can see on the pictures below you have a visual editor for defining the service and it then generates Jersey REST service ... from where you can get WADL.
I find SOAPUI excellent for editing WADL definitions and creating API contracts (and can do the same for WSDL).
While it is not visual in the same way xmlspy is; its structured approach is much better for establish a WebService 'contract'. It can then optionally be used to create Test Cases and Service Mocks.
For online I have used this to validate WADLs with good results. http://www.utilities-online.info/xsdvalidation/
You can obtain the XSD for the WADL from W3C site here: http://www.w3.org/Submission/wadl/wadl.xsd
The online tool is very straight forward to use. Your WADL goes in the left-hand pane and the XSD in the other one. It takes a while to validate so you might have to coax your browser a bit ...
I have also used oXygen against the same XSD and would recommend it over the online tool. It checks as you type so if you're authoring a lot of WADLs then it's really worth it the license. http://www.oxygenxml.com/
The other visual tool is XML Spy from Altova. I haven't used this for a while but they have a good range of products and worth considering if you can use other tools from their package, e.g. diffdog is supposed to be very good. http://www.altova.com/xmlspy.html
Finally the Netbeans IDE has support, but it seems a bit overkill to run an IDE in order to author a WADL. This is not lightweight :-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With