Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
0 Kudos
Salient features of this Scenario:
    •An XML file is given as input to XI.
    •The mapping is done using the user-defined java program.
    •The output file is obtained in the form of a pdf.

The scenario involves creating the input and output Data Types, Message Types and Message Interfaces. The difference from a simple file to file scenario arises in the message mapping where a pre defined java code is used.This java function does the process of converting the xml file to Pdf.



For this java code to work, we need to import some jar files into the imported archives.

The jar files required to run the java code along with the java program are kept in the imported archives.


The two jar files are:-
Dom4j.jar
Itext.jar
Pdfxml – The java program..


In the message mapping, the user-defined java function is used to map the input and output message types.



The user defined function has been illustrated below -

After this the interface mapping and the configurations follow as usual!!



This is one of the simplest ways i found in doing this scenario! Do tell me if there are any other methods!

Cheers 🙂
Divya
6 Comments