Hi Paulo,
I saw your oml , the problem is you are sending key contents in both the parameters . You need to send key binary in one and pdf binary in other .
In PDFBytes you need to send the pdf binaries. I changed it and is working fine for me.
Regards,
Pramod Jain