Using the XML Encoding Converter Utility

The JD Edwards EnterpriseOne software creates all XML files for CNAO version 2 in the UTF 8 format. However, if required, you can convert the XML files to the GB18030 format. To convert the files, you need to run the XML Encoding Converter utility. Before you run this utility, you must ensure that you have Java Virtual Machine version 1.6 installed on your computer.

You must perform these steps to run the converter utility:

  1. Create a folder in the C directory. This is the input folder for the conversion.

  2. Copy the XML files that you need to convert to this input folder on the C drive.

  3. Create a folder on the C drive for the output files. This is the output directory.

  4. Access the DOS command line and enter this command: type this command cd C:\b9\system\Classes, where C:\b9\system is the default folder for the EnterpriseOne package.

    If you have installed the EnterpriseOne package in some other location, type that instead of C:\b9\system in the above command. The XMLEncodingConverter_JAR.jar file exists in the Classes folder of the folder where you install the EnterpriseOne package.

  5. On the command prompt, type this command java -jar XMLEncodingConverter_JAR.jar InputDir UTF-8 OutputDir GB18030, where InputDir and OutputDir refer to the input and output directories created in the above-mentioned steps. Output

    For example, if you created folders with names Input and on your C drive, you must enter this command java -jar XMLEncodingConverter_JAR.jar c:\input UTF-8 c:\output GB18030.

  6. Press the Enter key on your keyboard.

    The system generates text that mentions what files are being converted and the directory locations. When all files are converted, the system generates the FinishedEncoding message. This indicates that all files have been converted to the desired format. You can review the files from the output directory.