on 05-04-2010 4:54 PM
Hi,
I was looking to use PayloadZipBean module to unzip a zipped file with three text files inside.
From the receiver adapter Audit log files, I see that the PayloadZipBean,is unzipping all the three files(first file as main payload and rest of the two files as additional payloads), but while writing the files, it only writes one file with the Main Payload content and the file name from File Name Scheme parameter.
In module configuration, i gave name as zip.mode and value as unzip. Are there any other parameters where we can specify the names for additional files and also how do we extract other two files.
Already looked at 'SAP Note:965256 - XI 3.0 Adapter Framework Zip Module' where not much information is available on unzipping piece.
Thanks in advance.
Pradeep
The file adapter cannot write more than one file, the main payload. Additional files as attachments are lost.
Maybe you write the zip file to the folder and do the unzipping with an OS command?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I dont think you can use all the unzipped files as payloads. You might want to crate two scenarios where it writes all the unzipped files to disk (using receiver file adapter) then another file to X scenario as per your requirement.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.