apisvc: made calls to service generic