Skip to Content
0
Former Member
May 05, 2010 at 03:15 PM

PayloadZipBean with customized zip filename

171 Views

Hi,

I am using PayloadZipBean for zipping my XML payload, However i get zip file as expected e.g. rakesh_05_05_2010.xml.zip But inside this zip file i get MainDocument or untitle.txt based on zip.filenameKey setting as payloadName or contentType etc..

Question : Is their any way by which i can get files named as rakesh_05_05_2010.xml wrapped in rakesh_05_05_2010.xml.zip ?

i want to have embedded file name as zip file name without .zip.

Please let me know how we can achieve this in SAP PI 7.0.

Regards,

Rakesh Mourya.