I have a WSDL that generates a PDF of jasperreport and sends it to my servlet, so I would like to know which is the best way to send the pdf, I have 3 options: base64, hexadecimal or byte []. I suppose that between the first two is the answer, since with the byte [] I can lose data, or maybe I'm wrong.