phax / as2-lib

A generic Java AS2 library, servlet and server
107 stars 43 forks source link

File is corrupted when sending a PDF file across using as2-lib #89

Closed sheebapadma closed 5 years ago

sheebapadma commented 5 years ago

If an xml is sent, it works fine. the file can opened on the receiving end. But if a pdf file is sent, the file is corrupted and cannot be opened on the receiving end. Any help would be greatly appreciated.

phax commented 5 years ago

What version of as2-lib are you using? What Content-Encoding are you using? Are you using the "AS2Client" class?

sheebapadma commented 5 years ago

Sorry for the late reply.. It ended up as an issue on my side. The file was double encrypted. Its working fine now.
we are using version 4.2.0.