How to use Adobe external Library to merge XML and PDF files in BW 5.9.3?

How to use Adobe external Library to merge XML and PDF files in BW 5.9.3?

book

Article ID: KB0090701

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Product: TIBCO BusinessWorks
Version: 5.9.3
OS: Not Specified OS

Description:
=========
In BW 5.9.3 - Using Adobe external library XPAAJ.jar to merge XML file and PDF template file into one file. The output is a PDF file without XML contents, if using default BW settings.

Environment:
==========
TIBCO BusinessWorks version 5.9.3

Cause:
=====
Adobe external library uses the class javax.xml.transform.TransformerFactory, which is different from BW default usage.

Resolution:
=========
Add the following code at the beginning of the Java code:

System.setProperty("javax.xml.transform.TransformerFactory","com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl");

Issue/Introduction

How to use Adobe external Library to merge XML and PDF files in BW 5.9.3?