Factor error and success methods from services.
Merge pull request #7807 from cirosantilli/factor-service-error

Factor error and success methods from services.