sending data to a web service in adobe x is very slow below is a sample code
stringReaded = stream.read(bound);
if (pdfDetails == null) {
parameter.jsonPdf = '{"FileName":"' + fileName + '","EncodedData":"' + stringReaded + '","UserId":"' + userNameDialog.username + '"}';
service.SavePdf(parameter);
it work very fine with adobe 9, while it is very slow with 10,
hope if any one can help
You can avoid any kind of large data handling in JavaScript by using the "Submit File Attachment" mechanism built into Acrobat Forms. Look up the "field.fileSelect" property in the Acrobat JavaScript Reference. When this property is set the value of the field is expected to be a local file path. Then when the form is submitted as FDF, the referenced file is embedded in the submitted FDF. You'll need a server script on the other end that can parse out the file data.
There are other mechanism for getting Acrobat to submit file data, but they all involve actually handling the file data in a script. This one just points Acrobat to the file location and lets it do the data handling.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script