assert service name is string