use registry as the service id