Raise when service name is invalid

Closes #4