I'm populating a PDF form using XFDF. The XFDF is produced by my Java webapp. I want to reference the PDF form from XFDF using a URL because I want form templates to be stored on the server. The form is password-protected, so I can't flatten it server-side with iText.
Using a local path works fine:
<f href="C:\Users\...\MyForm.pdf"/>
but a URL fails:
<f href="http://localhost:8080/app/servlet/PdfForm?id=176"/>
From the article below it seems it's possible, but I've looked through the XFDF spec and it doesn't mention URLs, only local paths:
http://wiki.developerforce.com/page/Adobe_XFDF
Neither Acrobat Reader X nor Acrobat Pro X seem to handle it. The browser fires up but and form doesn't get merged. I've tried changing default browser from Chrome to Firefox to IE with no luck.
Does anyone know if a URL reference works?