3 Replies Latest reply on Aug 23, 2011 12:37 PM by Jozef Hartinger

    Seam-REST(JAX-RS) @ResponseTemplate

    Geert van Leemputten Newbie

      I've set up a test-project on jboss7 to try out jax-rs. Everything worked thus far.
      I then continued to add seam3(solder and rest) along with freemarker, created a template and added the @ResponseTemplate annotation to the method of my resource.

      Yet my String response remained unchanged in the browser, it didn't use the template.

      I added SEAM-REST source and remotely debugged my application:
      As far as I can tell everything is setup OK, the FreeMarkerProvider has been initialised. But whenever I call a JAX-RS resource I doesn't pass by the template processor.