Hi, Wadl generator produces schema classes (jaxb based) and annotated service interface. You can use them for server as well for client side code (proxy or WebClient based)
Please take a look into https://svn.apache.org/repos/asf/cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerSpringBookTest.java testPostGeneratedBook() as an example. Regards, Andrei. > -----Original Message----- > From: Alex K [mailto:[email protected]] > Sent: Samstag, 4. Januar 2014 15:22 > To: [email protected] > Subject: How to generate rest client with wadl2java > > Hello. > > On page > https://cxf.apache.org/docs/jaxrs-services- > description.html#JAXRSServicesDescription-wadl2javacommandlinetool > > it is said > > "*CXF 2.4.1 introduces a wadl2java code generator and cxf-wadl2java-plugin > Maven plugin which can be used to generate server and client JAX-RS code > and speed up the transition between modeling and implementation > stages.*" > > So, if I am correct, we could use wadl2java to generate client stubs, not only > server's. Please explain, how could this be achieved? > > Great thanks. > > -- > Best regards, Alexey. > С уважением, Алексей.
