Highlighted

How to call HTTP web services in an Interactive Form?

Avatar

Guest

29-10-2008

Hi all,

I am using Adobe Livecycle Designer currently in a trial 8.2 version.

I need to invoke an HTTP Web Service (non-SOAP) in an Adobe Interactive Form. The Net.HTTP method does not work due to security reasons. The error message I get is:

(german)

" NotAllowedError: Sicherheitseinstellungen verhindern den Zugriff auf diese Eigenschaft oder Methode.

Net.HTTP.request:28:XFA:form1[0]:mysubform[0]:Region[0]:change"



In english this translates to: "Security settings prohibit the call of this property or method.

And indeed the "Javascript for Acrobat API reference" includes the following note:

"Note:This method can only be made outside the context of a document (for example, in a folder level JavaScript)."



So this method seems to be excluded from use in an Adobe document, e. g. in an interactive form. But why is it then listed at all? Is there a way to call HTTP Web Services in an Adobe Interactive Form by somehow branching out the call outside the document itself? Of course I do not want to call a SOAP service which then calls the HTTP Web Service 😉



Is there any other way to invoke HTTP Web Services in an Adobe Interactive Form?

Thanks a lot for your response!

Regards

Christoph