11-20-2019 06:30 AM
Hello,
Has anyone had experience of downloading a base64 encoded ZIP file. It sounds relatively straight forward however the file that is created cannot be opened (m/s invalid file format error appears). The size of the file is almost the same as the source file, therefore I assume somewhere the process is going wrong.
Any help appreciated!
11-20-2019 06:38 AM
11-20-2019 09:33 AM
In your pipeline, is the SOAPExecute snap outputting a byte array or a string that is base64?
Also, what is the MultipartWriter doing in this pipeline?
11-21-2019 01:37 AM
The SOAP response will detail the file name, date and the file split into chunks of data (base 64 binary).
jsonPath($, “$[‘soap:Body’].Stream_LatestPackageResponse.Stream_LatestPackageResult.File.Chunk[*]”)
We’re building an array of the encoded strings. See the splitvalue screenshot.
11-21-2019 02:41 AM
The intention of the multipart writer was to merge the individual binary output and write the zip file