Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Validation of WADL File

Is there a way to validate a given WADL File?

Validating against the XML Schema won't catch all errors, since this will not catch errors like a method parameter with a wrong style or an undefined type.

I also tried the command line tool WADL2java from apache cxf, but this doesn't catch all violations of the wadl specification - and even if it would catch all errors, generating code just for the sake of validation seems unnecessary.

like image 737
Garagantua Avatar asked Nov 13 '12 00:11

Garagantua


People also ask

What is WADL in web services?

A Web Application Description Language (WADL) document is a machine-readable XML description of HTTP-based web applications (typically REST web services). WADL models the resources provided by a service and the relationships between them.

What is Wadl format?

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.


1 Answers

  1. Navigate to online xml validator with xsd
  2. copy-paste your wadl xml into the "XML Input Option 1" text field
  3. Paste the this url into the "XSD Input Option 2" text field:
  4. Click on "VALIDATE XML"
like image 193
Dana Benson Avatar answered Oct 05 '22 00:10

Dana Benson