service and protocol models