Check that the service name is defined