Validation of WADL File

validation, wadl

Solution

- Navigate to online xml validator with xsd

- copy-paste your wadl xml into the "XML Input Option 1" text field

- Paste the this url into the "XSD Input Option 2" text field:

- Click on "VALIDATE XML"

Problem

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.

Original source