scala: generate service client