WebService Call in Rules Editor

AEM_Forum 13-12-2016

Hi,

Pl refer to WebService Call in Rules Editor in URL : https://helpx.adobe.com/aem-forms/6-2/rule-editor.html

This exemplifies calling a WebService with ZIP code to retrieve address.

Is there a tutorial that covers a WebService Call, with authentication? (A WebService that required user name and password).

Thanks,

Rama.

Mark Solution

Are these answers useful?
Help other community members by marking useful answers as accepted.

Accepted Solutions (0)

Answers (4)

Answers (4)

workflowuser
Employee
14-12-2016

If you have to call web service that requires authentication, you will have to write Java code.  I once wrote OSGI bundle and used SAAJ API to construct the WSDL request

Anish_Somani 13-12-2016

Hi,

I don't think there is any tutorial in this direction. Although the closest thing out there is Tutorial for custom Function in rule editor.

Drawback: Function returns only 1 output.

If you want you can look it here:https://helpx.adobe.com/aem-forms/6-2/rule-editor.html#custom_functions

AEM_Forum 13-12-2016

Hi,

Thanks for replying.

If we have such a requirement, do we have to write custom JS code to invoke WS in Code Editor section of Rules Editor?

Is there any tutorial in this direction?

Thanks,

Rama.