Skip to Content
0
Jan 14, 2014 at 11:22 AM

Unzip Using PayLoadZipBean

163 Views

Hello,

I am facing an issue with PayloadZipbean.

I have a file at SFTP location e.g. "xyz.zip" and it contains another file "abc.csv" in it. I need to process this CSV file.

I created SFTP communication channel and I have given file name as "xyz.zip".

In module processing, I am using PayLoadZipbean and MessageTransformBean to process this file.

MessageTransformBean is working correctly.

Processing Sequence :

0 AF_Modules/PayloadZipBean

1 localejbs/AF_Modules/MessageTransformBean

2 localejbs/CallSapAdapter

and for unzip I have mentioned parameter as zip.Mode = unzip.

Problem: Some different character set is shown in SXMB_MONI.

If you directly open any zip file in notepad++, same character set is visible.

It looks like unzip is directly opening the file instead of extracting it.

Any help will be highly appreciated.

Thanks and Regards,

Sanjay