cancel
Showing results for 
Search instead for 
Did you mean: 

Conversion of Zip file in to a Single Field

manikandan_shanmugam3
Active Participant
0 Kudos

Dear All,

Scenario:File to File

How can I convert the input zip file in to the single field in Mapping in PI 7.0.

Regards,

Manikandan

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member181985
Active Contributor
0 Kudos

if you pass the zip file content (Binary) to one of the fields in target XML structure, it will become an invalid XML data due to special characters. And the receiver application will fail when it loads that data.

You might need to use some encryption for the binary content before you pass it. e.g., BASE64.

Former Member
0 Kudos

You're right Praveen.

Former Member
0 Kudos

An idea is to put stream data of zip file, directly into field of receiver structure in message mapping.

I don't understand why you need to do this, in a File to File scenario...

Former Member
0 Kudos

Please explain the requirement in detail....

-santosh.

manikandan_shanmugam3
Active Participant
0 Kudos

Hi All,

I have to process the two(ZIP and TXT) files which are having the same name but with different extension. PI should transfer if both the file exist else should not transer the file. I have planned to use BPM but both the files are only pass through so we cant create the DT and Abstract Interface.

ZIP files are contains multiple files and client dont want us to analyse the both files.

My company only allows us to use BPM and rarely java Modul so i am thinking to use BPM.

need help to use the BPM for this requirement.

Regards,

manikandan