Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Alternative to webservice for data exchange in PDF (Form Export Rights in Reader)

Avatar

Level 1

Hello,

I'm exchanging data between my pdf and a web server. Basically, the pdf needs to get some xml string from the web server, alternatively send some xml string to it. This is now done using a webservice, and it works fine with the SOAP javascript object. However, it doesn't work in Adobe Reader, because (quote from the docs):

"The SOAP methods connect, request and response are available only for documents open in Acrobat Pro and  Acrobat Standard and for documents with Form Export Rights open in  Adobe Reader 6.0 or later."

It turns out I need to enable Form Export Rights to get webservices work in Reader.

Now, I was wondering if there's another way to exchange data between my pdf and a web server that doesn't involve enabling those Form Export Rights in Reader.

Note that I need to be able to parse the response string xml from the web server in pdf using its javascript API.

Thanks for any suggestions,

James

0 Replies

Avatar

Level 10

Your only other alternative is to POST th einformation to the web server via a submit operation. This is the same as POSTING on an HTML form.

Paul