REST (Representational State Transfer) has been growing in usage, especially with support from early service adopters like Amazon, Google, and eBay. One of the issues often raised in conjunction with REST is the lack of a WSDL (Web Services Description Language) like contract that describes the resources available.

The folks over at have come up with what may well be the answer: WADL (Web Application Description Language).

Example of WADL for Amazon's Search Service from the specification:"






What's cool about the specification is the ability to lock down parameters to either a specific type, such as "xsd:string", or a list of options, e.g. "Small, Medium, Large, Images". This is exciting not only because of the ability to nail down query parameters for REST and AJAX (Asynchronous Javascript and XML), but web applications in general.

While web application firewalls provide this particular functionality for web applications today, the use of WADL - or a similar specification - could provide even better security for all types of web applications. Using XML Schema to control the type and values of parameters is one of the founding principles of XML security in general, with no real standardized mechanism for providing this functionality for traditional web applications or non-XML applications. WADL appears to solve that issue and offers a way to lock down and secure more tightly the parameters and URIs allowable for any application.

That's an exciting prospect, both for emerging technologies like AJAX and REST, but also for traditional web applications that continue to suffer in the security area due to a lack of definition of what's acceptable and what's not.

Imbibing: Coffee