cancel
Showing results for 
Search instead for 
Did you mean: 

PayloadZipBean not zipping file (receiver channel)

itabhishek9
Participant
0 Kudos


Hi SDNites,

I have used PayloadZipBean to zip the file on the receiver communication channel. File moved to receiver directory without error but has not been zipped. Please let me know thoughts on the above.

Module Name : localejbs/AF_Modules/PayloadZipBean

Type : Local Enterprise Bean

Module Key : zipfile

Paramter name : zip.filenameKey

Parameter value : contentType

Paramter name : zip.fmode

Parameter value : zip

Regards,

Abhi

Accepted Solutions (0)

Answers (8)

Answers (8)

itabhishek9
Participant
0 Kudos

@Raghu - Attached is the screenshot of the configuration

@Praveen - Attached below is the message log of the receiver communication channel

Regards,

Abhi

former_member181985
Active Contributor
0 Kudos

Hi,

Audit Log looks fine at least

Have you verified the content of generated file (I am assuming generated file extension is other than .zip for some reason... e.g. .txt, .xml)

Best Regards,

Praveen Gujjeti

RaghuVamseedhar
Active Contributor
0 Kudos

Abhishek,

Value should be

text/plain; name="name.txt"

not

Content-Type: text/plain; name="name.txt"

OR please try this

image is from

former_member181985
Active Contributor
0 Kudos

Hi,

May be channel cache is not updated, assuming you have added payloadzipbean later in comm. channel

If cache is up to date, please paste audit log of a processed message. The auditlog should signify what is happening...

Best Regards,

Praveen Gujjeti

itabhishek9
Participant
0 Kudos

@Inaki - SAP Note does not affect my system. Also I have modified the module name but still the result is same.

@Raghu - I have implented as you suggested above but still no change in outcome.

Regards,

Abhi

RaghuVamseedhar
Active Contributor
0 Kudos

Abhishek,

Can you please post screenshot of new configuration.

I would suggest to configure same scenario in another environment like Dev or Sandbox, to check if it works there.

RaghuVamseedhar
Active Contributor
0 Kudos

Abhishek,

Please use

Content-Type: text/plain; name="name.txt"


Please go through sap help Link.

iaki_vila
Active Contributor
0 Kudos

HI Abhishek,

Check your PI version SP is not affected by this note 2088084 - PayloadZipBean does not add .zip or .gz extension to the compressed payload

Try to set AF_Modules/PayloadZipBean instead of  localejbs/AF_Modules/PayloadZipBean

Regards.

Former Member
0 Kudos

Hi Abhishek,

zip.mode- zipOne should work. However can u check with zip

Regards,

Sriram

itabhishek9
Participant
0 Kudos

Hi Eng,

Thanks for the response. Above was typing mistake.

Based on the link all my configuration steps matches but still it is not working.

Can you please guide me if there is any point which I have missed here.

Regards,

Abhishek

engswee
Active Contributor
0 Kudos