- Source: Web Application Description Language
The Web Application Description Language (WADL) is a machine-readable XML description of HTTP-based web services. WADL models the resources provided by a service and the relationships between them. 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.
WADL was submitted to the World Wide Web Consortium by Sun Microsystems on 31 August 2009, but the consortium has no current plans to standardize it. WADL is the REST equivalent of SOAP's Web Services Description Languages (WSDL), which can also be used to describe REST web services.
Format
The service is described using a set of resource elements. Each resource contains param elements to describe the inputs, and method elements which describe the request and response of a resource. The request element specifies how to represent the input, what types are required and any specific HTTP headers that are required. The response describes the representation of the service's response, as well as any fault information, to deal with errors.
Example
The following listing shows an example of a WADL description for the Yahoo News Search application.
Generate WADL or generate code from WADL
= Java
=There are multiple tools to generate java code from an existing WADL:
Apache CXF
Java API for RESTful Web Services, and its reference implementation, Jersey
= Example WADL Generated by CXF
=See also
Overview of RESTful API Description Languages
OpenAPI Specification (Swagger)
RAML (software)
References
External links
WADL home page on github
Current specification for WADL
Carlyle, Benjamin. "WADL for REST-style SOA" (2009-08-31). soundadvice.id.au. Retrieved 9 September 2021.
Kata Kunci Pencarian:
- WSDL
- XML Paper Specification
- Web of Science
- Graph database
- Wikidata
- Daftar julukan kota di Amerika Serikat
- Web Application Description Language
- Web Services Description Language
- Interface description language
- Page description language
- Overview of RESTful API Description Languages
- Semantic Web
- Web application
- Web Ontology Language
- Description logic
- Portable Application Description