on 09-09-2016 8:47 AM
Hi All,
I would like to ask if there is any way for PI to convert a source XML file to a PDF file when it is sent to the receiver without using a custom module in the receiver channel?
Thanks in advance.
Bryan,
Using iText Library in java mapping you can achieve this :
CODE - Create a PDF File via the iText Library - Process Integration - SCN Wiki
or You can use RFC lookup where you pass input as XML and the ABAP'er can use this and convert into pdf and send back the response in Base64 xstring format , once u recive the RFC response convert it back to pdf and send it to target system.
Br,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In Addition to Manoj's answer: since iText library must be licensed for use with closed-source applications, I could suggest Apache PDFBox.
Apache PDFBox | A Java PDF Library
Another option is to use Apache FOP:
XI: Generate PDF file out of file adapter | SCN
Regards, Evgeniy.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.