Susana (and any else interested in our rest endpoints), An example of how we are providing JSON and XML for our rest endpoints can be found in the scheduler service (src/main/java/org/opencastproject/scheduler/endpoint/SchedulerRestService.java).
Essentially there are two annotated functions with different @Produces tags, which calling a single private function that does the work and returns a Response. Our custom rest producer will take care of turning the Response object into xml or json. If you have any questions please let me know. Micah _______________________________________________ Matterhorn mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn To unsubscribe please email [email protected] _______________________________________________
