on 2013 Sep 06 6:18 AM
Dear All,
We have a scenario in PI:
HTTP (Sender) -Base64Encoded PDF in a XML message -> SAP PI -Base64Decode the data and generate PDF file-> Create PDF File in Folder
I am able to create PDF file using a JAVA mapping. The scenario works fine for most of the cases; however it fails for one of the data which is in TrueType Font. Did some search and found that there is a issue with TrueType fonts (may not be valid in my case...cant confirm).
Properties of document in error:
Properties of document in Success:
Any idea on how the above issue can be resolved in the JAVA mapping so that any pdf document opens properly?
When decoded using online converter the file is generating properly so there is no issue with the data neither with the fonts on my laptop.
Thanks,
Abhishek.
Request clarification before answering.
Dear All,
Changed the JAVA code to write byte data instead of string. This resolved the issue.
Thanks,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
41 | |
15 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.