cancel
Showing results for 
Search instead for 
Did you mean: 

PayloadZipBean - Problems

Former Member
0 Kudos

Hi,

I want to reduce the traffic on our network so I try to send most of the data to XI as ZIP file. Thereby I found the PayloadZipBean Module.

Setup of the Module was very easy. But now I get always an error in the communication channel

Error: java.util.zip.ZipException: invalid entry size (expected 4388736 but got 4387325 bytes)

In the meantime I tried 3 diffrent Zip solutions and I get always the same result. Although with a java application that using the ZipException to Zip the file.

Had anybody similar issues?

Some ideas how that problem can be solved?

cheers,

Stefan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Stefan,

Did you check stefans blog here:

/people/stefan.grube/blog/2007/02/20/working-with-the-payloadzipbean-module-of-the-xi-adapter-framework

We didnot run into any isues for zipping by looking at this blog. Also you can take a look at this blog for one more option:

/people/alessandro.guarneri/blog/2007/02/21/sap-xi-acting-as-a-huge-file-mover

Regards,

---Satish

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

I started to play with the content inside. Instead all datasets only some and it started to work.

And in the meantime I suppose it is a special character within the xml file (included into the zip) or that the payploadzipbean is haveing troublem with bigger files (> 2 MB)

JoelTrinidade
Active Contributor
0 Kudos

Hi Stefan,

Your statement "And in the meantime I suppose it is a special character within the xml file (included into the zip)" , affirmed my thought that it has got something to do with special characters . I suggest that you use binary conversion option.

Regards

joel

Former Member
0 Kudos

Hi all,

@Satish, the Weblogs I know. I used it to setup my szenario / File adapter

@Stefan, really a good idea especially in the past I did a lot of funny expirience with Codepages within XI.

But id did not help. I tried to save the file included to the ZIP as Ansi, UTF8, DOS, Unicode Codepage and it did not help.

What s sh......

stefan_grube
Active Contributor
0 Kudos

Maybe a codepage issue?

The difference from 1011 bytes could come from a UTF-8 -> ISO conversion.