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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

How to call HTTP web services in an Interactive Form?

Avatar

Not applicable
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
0 Replies

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now