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).
Are these answers useful?
Help other community members by marking useful answers as accepted.
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
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
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?
Not in 6.2,