Troubleshooting
Problem
It is possible to decode BASE64 encoded strings using WebSphere® Transformation Extender (WTX) 8.4 despite the lack of a BASE64 adapter. This is accomplished by enveloping the BASE64 content in a temporary MIME wrapper and then parsing that data through the MIME adapter.
Symptom
As the BASE64 adapter is no longer part of the WTX product from version 8.4, any map which attempts to use this adapter will end with a -99999 Adapter Not Found error.
Cause
BASE64 adapter no longer part of the WTX product.
Diagnosing The Problem
Here is an example showing how to use this technique.
In the Images sub-directory, you can run the 'Master.mmc' map, to have the 'BASE64.txt' converted to 'image1.jpg'. Additionally, in the Text sub-directory, you can run the 'Master.mmc' map, to have the 'BASE64.txt' converted to 'output.txt'.
attachment_14870355_MIME_example.zip
Resolving The Problem
Enveloping the BASE64 content in a temporary MIME wrapper and then parse that data through the MIME adapter.
Was this topic helpful?
Document Information
More support for:
IBM Transformation Extender
Software version:
8.4.0.3, 8.4.0.2, 8.4.0.1, 8.4.0.0, 8.4
Operating system(s):
HP-UX, Windows, Solaris, Linux, z/OS, AIX
Document number:
211831
Modified date:
29 September 2018
UID
swg21606757