Task <FileUploadService.acceptCompletedEventArgs> ExportFileuploadAsyncTask(FileUpload_wrapService client, string exportXml)
        {
            var tcs = new TaskCompletionSource <FileUploadService.acceptCompletedEventArgs>();

            client.acceptCompleted += (sender, e) => TransferCompletion(tcs, e, () => e);
            client.acceptAsync(exportXml, ServiceUsername, ServicePassword);
            return(tcs.Task);
        }
        public async Task <String> ExportFileuploadAsync(List <ProductLocalizedImage> images)
        {
            var fileUploadExportXml = images.BuildFileUploadExportMessageAsync(ProviderCode, XRefMerchantId);
            var client = new FileUpload_wrapService {
                Url = _fileUploadServiceUrl
            };
            var result = await ExportFileuploadAsyncTask(client, fileUploadExportXml);

            return(result.Result);
        }