restResource not usable