I would like to do something similar to the order/product example outlined here:

http://cxf.apache.org/docs/jax-rs-basics.html#JAX-RSBasics-Subresourcelocators.


However, I would like to have my CustomerService.getOrder(String id) and the 
the Order.getProduct(String id) return Response objects so that I can customize 
the headers.  However, when I do that, it doesn't seem to work.  I have to 
return the raw entity objects.  


I would think it could be smart enough to grab the entity object out of the 
Response object and still find the correct path.


Any thoughts?

Jason

Reply via email to