File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes help in converting pdf into byte array Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply locked New topic

help in converting pdf into byte array

lokesh jain
Ranch Hand

Joined: Feb 21, 2009
Posts: 58
Hi, can anyone help me in converting a pdf file into byte array? so that I can send this byte array to the client end and then convert back it into pdf.

Thanks in advance
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42956
Please do not post the same question multiple times. You've already ben advised elsewhere to use SOAP with Attachments or MTOM. If -after reading the links regarding those approaches- you have further questions, please post them in the original thread.
I agree. Here's the link:
subject: help in converting pdf into byte array