rest jersey client - working