@GET @Produces(MediaType.APPLICATION_XML) public List<Alert> getAllAlert() { return service.getAlerts(); }