WADL: The REST Answer to WSDL
Daniel Rubio, TechTarget
Web service developers were stirred a few months ago in the technical
media over the SOAP vs. REST debate, a now familiar theme which seems
to come up every so often and one discussion which will surely never
be completely settled given that each approach has its own technical
merits on which to stand. But appropriate as each technique is for
certain circumstances, until recently, there was one obvious part
missing in RESTful approaches that was ever present in SOAP: the
concept of a descriptor. Web Application Description Language (WADL)
aims to provide descriptors for RESTful services. For SOAP Web services,
descriptors based on Web Services Description Language (WSDL) form a
fundamental piece of their actual design, mainly on account of the
underlying complexity present in the actual service. In these scenarios,
a descriptor not only serves the purpose of formally describing all
the business logic it can fulfill, but it also aides in the creation
of helper classes (often called stubs) used to build service clients.
While the mechanics of using [WADL's] approach (automated code
generation) have caused criticism among early WADL analysts, stating
that its not only unnecessary, but that it will start REST down the
same path as SOAP and other distributed technologies like CORBA, which
depend on intermediate languages/descriptors, from a practical point
of view one cannot deny that using such a contract to obtain stub
classes is an even quicker way to get started with REST-based Web
services clients. While WADL is still in its early phases and tools
are currently available only for Java environments -- contrary to
WSDL, which is more ubiquitous -- WADL's appearance is a vote of
confidence in favor of the REST approach to building Web services
and will in all likelihood become a tight knit companion when
undertaking REST designs in the enterprise, just like WSDL has been
one for SOAP.
http://searchwebservices.techtarget.com/tip/0,289483,sid26_gci1265367,00.html
See also the WADL Project web site: https://wadl.dev.java.net/
Daniel Rubio, TechTarget
Web service developers were stirred a few months ago in the technical
media over the SOAP vs. REST debate, a now familiar theme which seems
to come up every so often and one discussion which will surely never
be completely settled given that each approach has its own technical
merits on which to stand. But appropriate as each technique is for
certain circumstances, until recently, there was one obvious part
missing in RESTful approaches that was ever present in SOAP: the
concept of a descriptor. Web Application Description Language (WADL)
aims to provide descriptors for RESTful services. For SOAP Web services,
descriptors based on Web Services Description Language (WSDL) form a
fundamental piece of their actual design, mainly on account of the
underlying complexity present in the actual service. In these scenarios,
a descriptor not only serves the purpose of formally describing all
the business logic it can fulfill, but it also aides in the creation
of helper classes (often called stubs) used to build service clients.
While the mechanics of using [WADL's] approach (automated code
generation) have caused criticism among early WADL analysts, stating
that its not only unnecessary, but that it will start REST down the
same path as SOAP and other distributed technologies like CORBA, which
depend on intermediate languages/descriptors, from a practical point
of view one cannot deny that using such a contract to obtain stub
classes is an even quicker way to get started with REST-based Web
services clients. While WADL is still in its early phases and tools
are currently available only for Java environments -- contrary to
WSDL, which is more ubiquitous -- WADL's appearance is a vote of
confidence in favor of the REST approach to building Web services
and will in all likelihood become a tight knit companion when
undertaking REST designs in the enterprise, just like WSDL has been
one for SOAP.
http://searchwebservices.techtarget.com/tip/0,289483,sid26_gci1265367,00.html
See also the WADL Project web site: https://wadl.dev.java.net/