@DELETE @Path("{enlaceId}") @Produces(MediaType.APPLICATION_XML) public ResponseMessage delete(@PathParam("enlaceId") String enlaceId) throws RegistroNoEncontradoException, NumberFormatException { Enlace.delete(Long.parseLong(enlaceId)); return new ResponseMessage(true); }