Restful Client from WADL

Robin Wieruch picture Robin Wieruch · Feb 6, 2012 · Viewed 31.9k times · Source

Is there any way generating automatically a jax-rs client with HttpUrlConnection or third party soloutions like jersey, apache, restlet etc. out of an wadl? Wouldnt it be an advantage to have a framework/application for this?

Answer

Piotr Kochański picture Piotr Kochański · Apr 9, 2012

There is a rudimentary client-side code generator from WADL available with Apache CXF JAX-RS implementation http://cxf.apache.org/docs/jaxrs-services-description.html

It generates some boilerplate code, but it is nothing close to client generators for SOAP/WSDL web services.