E_DEPRECATED if the resolved service is not an object