Hi!

Trying to generate code from WADL with references
http://cxf.apache.org/docs/jaxrs-services-description.html#JAXRSServicesDescription-
WADLwithreferences


I am getting strange results
1.
@Path("/books")
public interface BooksResource {

}

2.

@Path("/bookstore/{id}")
public interface BookstoreIdResource {

    @GET
    @Produces("application/xml")
    Book get(@PathParam("id") String id);

}


Why (1) public interface BooksResource is empty?
Shouldn't it contain method that returns subresource instance ?

Why (2) contains Book get(..) method,
Shouldn't it also contain method that returns subresource instance ?

Reply via email to