try{
PRFile file = new PRFile("testipf.pdf");
PRInputStream inputStream = new PRInputStream(file);
byte[] b = new byte[(int)file.length()];
inputStream.read(b);
tools.putParamValue("PDFName","testipf.pdf");
tools.putParamValue("PDFDocument",b);
tools.putParamValue("InsHandle","SAE-HRSERVICES-WORK C-64");