1

My team is looking to create WADL files for our web service which uses Ant and RESTEasy.

Is it possible to generate WADL files for RESTEasy through Ant? Or a plugin?

I am aware of this previously asked question which was answered using Maven, but this is not helpful in my case.

Community
  • 1
  • 1

1 Answers1

1

Rest easy now has support for this:

https://github.com/resteasy/Resteasy/tree/master/jaxrs/resteasy-wadl

/WEB-INF/web.xml:

<servlet>
    <servlet-name>RESTEasy WADL</servlet-name>
    <servlet-class>org.jboss.resteasy.wadl.ResteasyWadlServlet</servlet-class>
</servlet>

<servlet-mapping>
    <servlet-name>RESTEasy WADL</servlet-name>
    <url-pattern>/application.wadl</url-pattern>
</servlet-mapping>
pdjohe
  • 31
  • 1
  • did you ever get this really working? I got a WADL but without grammar section: https://stackoverflow.com/questions/44112418/missing-grammar-in-jboss-resteasy-generated-wadl – mvermand May 23 '17 at 15:30