I have a web application providing more than 30 REST services (using Jersey) to clients. Is it possible to automatically create a WADL document for my application?
I need this, so that I can have it configured in SoapUI for testing various scenarios and save it for later use.
WADL is the REST equivalent of SOAP's Web Services Description Language (WSDL), which can also be used to describe REST web services.
WADL is equivalent to SOAP's web services description language. WSDL is a machine-readable description with the current version of 2.0. 05. It is lightweight, easy to understand and write as compared to WSDL.
If you are using Jersey then url to wadl would be something like
http://localhost:8080/applicationname/application.wadl
You may need to add the resource base into the url e.g.
http://localhost:8080/applicationname/resources/application.wadl
http://{host}:{port}/{context_root}/{resource}/application.wadl
substitute values for host
, port
, context root
and resource
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With