@Path("/{AlertId}") @GET @Produces(MediaType.APPLICATION_XML) public Alert getAlert(@PathParam("AlertId") int ID) { return service.getAlert(ID); }