Copy link to clipboard
Copied
Hi Team
Is there is other alternate method to communicate with web service other than SOAP using Java script in Adobe Reader.
Thanks
Bala
Yes, you can use FDF/XFDF to send data to the server and report information back to the document. Take a look at Doc.submitForm() method using the FDF/XFDF parameter: Acrobat DC SDK Documentation - Doc.submitForm() You will need form fields to send/receive data, but these can be hidden.
Copy link to clipboard
Copied
Yes, you can use FDF/XFDF to send data to the server and report information back to the document. Take a look at Doc.submitForm() method using the FDF/XFDF parameter: Acrobat DC SDK Documentation - Doc.submitForm() You will need form fields to send/receive data, but these can be hidden.
Copy link to clipboard
Copied
Hi Karl
Thanks for your replay.
I tried with your above solution but i got some error.
I want to send a value to the server (i am able to send the value to server) and i want to get the response from the server. (but how to recive response from server to form field is it is possible)
i have tried with the below code in adobe reader 11:
this.submitForm({
cURL:"http://localhost:55182/Service1.asmx",
cSubmitAs: "HTML"
});
and i have received the error as: an error occured during submit process. cannot process content type text/xml; charset=utf-8.
Copy link to clipboard
Copied
Your web script needs to return a suitable format for filling form fields: XFDF or FDF. Though XFDF is XML, it must have a suitable content-type. So, yes, there is an alternative to SOAP. But if your question is really "can I connect to existing unmodified services that return general XML data" the answer is certainly "no".
Find more inspiration, events, and resources on the new Adobe Community
Explore Now