save service name as attribute