Questions tagged [wadl]

Web Application Description Language (WADL) is a machine process-able XML description of HTTP-based Web applications, such as REST web services.

Web Application Description Language (WADL) is a machine process-able XML description of HTTP-based Web applications, such as REST () web services.

The description of HTTP-based applications and services is achieved by modeling, from the HTTP interaction standpoint, the provided resources and the relationships between them.

WADL intends to be the REST equivalent of SOAP's Web Services Description Language (), which can also be used to describe REST web services.

For more information, see the Web Application Description Language - W3C Member Submission 31 August 2009 and the W3C Team Comment on it.

219 questions
3
votes
1 answer

WADL: complex type from external xsd

I need to test authentication procedure using the wadl file below:
Sergey
  • 31
  • 1
  • 3
3
votes
0 answers

How to convert WADL to WSDL?

I want to convert a WADL file to WSDL file using my converter. The Converter has a WADL file as input and a WSDL file as output. To convert a WADL file to a WSDL file, the Converter follows the steps below: The Converter receives a WADL file as…
azguindou
  • 147
  • 1
  • 3
  • 15
3
votes
2 answers

WADL applications?

I have read the book "Restful Web services". In that book it described WADL and it's purpose to describe RESTful web applications. That book was written in 2007, and at that time there weren't many web applications using WADL. I wonder if that has…
ajsie
  • 77,632
  • 106
  • 276
  • 381
3
votes
1 answer

How to generate wadl file for resteasy in jboss

I want to generate a wadl file for my project which is using resteasy + Jboss 6.4 + Maven. There are many examples given for jersey but not for resteasy does anyone used it for resteasy
user1973596
  • 41
  • 1
  • 5
3
votes
1 answer

How to add additional element to WADL?

I try to add an error object to response (with HTTP status 422). It works fine, but I want also to add the scheme of my error object to the automatically generated WADL. Code: JAX-B model classes: @XmlRootElement(namespace =…
dur
  • 15,689
  • 25
  • 79
  • 125
3
votes
2 answers

Dropwizard 0.8.0 WADL support

Wadl can be configured in Dropwizard 0.7.1 like this: environment .jersey() .getResourceConfig() .getProperties() .put(ResourceConfig.FEATURE_DISABLE_WADL, Boolean.FALSE);//Create WADL How can I set it in Dropwizard…
heaphach
  • 1,492
  • 1
  • 20
  • 44
3
votes
1 answer

Apache CXF wadl2java could not find main class WADLToJava

I need to convert wadl to java pojo, for that i have downloaded apache cxf 3.0.1 version. But when i run wadl2java bat file in my command prompt, i am getting following exception D:\software\apache-cxf-3.0.1\bin>wadl2java -h Error: Could not find or…
vashishth
  • 2,751
  • 4
  • 38
  • 68
3
votes
2 answers

How to deserialize this JSON in an elegant way using flexjson

I am working with Oracle OPAM and it has a REST API that has methods like this { "Target Collection":[ { "target":{ "uri":"https:\/\/opam_server_host:opam_ssl_port\/opam\/target\ /9bbcbbb087174ad1900ea691a2573b61", …
Leo
  • 6,480
  • 4
  • 37
  • 52
3
votes
1 answer

Cannot Discover QNAme from JAXB for class: java.util.Map

I am trying to use a Spring Wadl Generator: https://github.com/autentia/wadl-tools. AFAIK, this tool uses the same idea of the Tomasz Nurkiewicz @tomasz-nurkiewicz: get the RequestMappingHandlerMapping from Spring, inspect each element and generate…
rdllopes
  • 4,897
  • 4
  • 19
  • 36
3
votes
0 answers

Link XSD-File in WADL

I would like to create a WADL-File from which Java Interfaces can be created using Apache CXF wadl2java Maven plugin. In the WADL I would like to use the Datatypes defined in a XSD-File. These are my REST Services: @Path("/v1/order") public…
joshi737
  • 869
  • 3
  • 12
  • 26
3
votes
0 answers

CXF WADL2Java does not produce the right input parameters

I went through the documentation, which helped me figure out several issues I had, but not the following two problems: 1) I have got a get(GET) method: get(@Context Request request, @PathParam("isbn")String isbn) How do I formulate the WADL for it…
Behzad Pirvali
  • 764
  • 3
  • 10
  • 28
2
votes
1 answer

Configuring Jersey to provide a WADL through JSON

So Jersey's default WADL functionality is great! Except if your developing your API to only handle JSON at which point it seems a little silly to force your client apps to switch back to XML for the WADL. Could anyone provide (or point me to) an…
hypno7oad
  • 1,441
  • 1
  • 19
  • 28
2
votes
0 answers

NullPointerException in EnumMap when auto generating wadl with Jersey

I am using Tomcat 7, Jaxb2 and Jersey1.11. I have a class EnumProperty which inherits from an abstract class Property. @XmlAccessorType(XmlAccessType.FIELD) public class EnumProperty extends Property { @XmlElement(name = "property_value",…
Itay Karo
  • 31
  • 2
2
votes
1 answer

Meaning of WADL

Today i read the description of WADL from wikipedia The Web Application Description Language (WADL) is an XML-based file format that provides a machine-readable description of HTTP-based web applications. Here what is the meaning of "Machine…
Dilip
  • 929
  • 3
  • 13
  • 32
2
votes
5 answers

Where can I find a full WADL spec?

I've read a great example of a WADL file. I've also checked out the WADL2Java tool. But I can't seem to find a full spec of the WADL format. I have many unanswered questions, mostly dealing with how various parts of the file relate to one another…
James A. Rosen
  • 64,193
  • 61
  • 179
  • 261