basiljames basiljames - 6 months ago 27
Java Question

How can I generate WADL for REST services

I have a web application providing more than 30 REST services (using Jersey) to clients. Is is 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.

Answer

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