jersey way to consume rest service