Embedded documents (base64REncoded) in XML
Posted: Fri Sep 04, 2020 12:00 am
Hi All,
Has anyone embedded a base64encoded document in an XML message using Composer and Mapforce? I've created a map that accepts a string, the encoded document, and maps it to an XML document provided by the US Government. The Process takes a word document file, zips it up, and then uses the 'base64_encode' activity to encode the contents. I then use the 'for_each_txtlin' to read the encode file, line by line. Each line is then concatenated to form one long text string. This is then passed to the map. However, when I run this process I get the error 'command missing ending closing bracket token. Are there any other methods I could use instead?
Thanks in advance.
Eugene
Has anyone embedded a base64encoded document in an XML message using Composer and Mapforce? I've created a map that accepts a string, the encoded document, and maps it to an XML document provided by the US Government. The Process takes a word document file, zips it up, and then uses the 'base64_encode' activity to encode the contents. I then use the 'for_each_txtlin' to read the encode file, line by line. Each line is then concatenated to form one long text string. This is then passed to the map. However, when I run this process I get the error 'command missing ending closing bracket token. Are there any other methods I could use instead?
Thanks in advance.
Eugene