You must define a user routine that encodes the MetaServlet parameters in base64 to
be transmitted to the REST API. This routine will be called in the Job.
Procedure
In the Repository tree view, expand Code to display the Routines folder.
Right-click Routines and select Create routine.
The New routine dialog box opens. Enter the
information required to create the routine, then click Finish to proceed to the next step.
The newly created routine appears in the Repository tree view, directly below the Routines node. The routine editor opens to
reveal a model routine which contains a simple example, by default,
comprising descriptive text in blue, followed by the corresponding code.
At the beginning, right after the package routines line of code,
add the following:
To do so, start typing and press Ctrl+Space to open the list of templates, then select
com.sun.org.apache.xml.internal.security.utils.*; then replace
the * sign with Base64.