when trying to configure a SOAP Web Service as a data source in AEM Forms 6.4 it's not possible to enter the authentication data although it's possible to select the authentication type i.e. there are no forms fields to enter the authentication information.For the particular case we were selecting Basic Authentication.
In 6.3 one was presented with form fields to enter the data.
Am I missing something?
AEM Forms 6.4 JEE on Windows Server 2016
There is no specific use case other than all access to SAP resources is password protected so in order to get the WSDL an authentication is neccesary which is the same as authenticating for the call itself. BTW. the customer is trying to migrate PDF forms to Adapative Forms. Defining the Webservice in AEM Forms Designer works just fine.
Yes, the call is for authenticating just the service.
Can you please elaborate the use case.
we've updated to 6.4.1 and the Authentication dialog is available now. Unfortunately it seems that the authentication is only used for the call itself but not when requesting the WSDL - is that correct? Accessing the WSDL also needs an authentication (trying to access a SAP system) at the customers site.
With kind regards
Thanks for sharing the information. We'll try early next week and provide feedback if the issue is resolved.
btw great support here!
That's a good workaround Maruan and the fix would be out in 2 weeks for the issue. You may check the release doc that I shared earlier to get the download link directly.
Thank you both for the information and your support. Would you have a tentative schedule for 6.4.1?
- I can confirm that the issue is for SOAP only. Choosing REST the fields to enter the credential are there
- I tried replicate the same setting for 6.4 as one can enter using the 6.3 GUI using CRX explorer but that didn't work. I might have missed something.
The workaround I put in place was doing an AEM orchestration process using workbench to do an authenticated call to the SOAP web service and doing an unauthenticated call from the Adaptive Form to the AEM orchestration (setting the security to off for that process) which works fine so using the orchestration as a proxy.
Might serve as a workaround for others where AEM Forms JEE is in place for the time being.
Seem to be existing in case of SOAP only and the fix would be delivered on 6.4.1 for the same.
As Mayank Gandhi mentioned, you could add the nodes to the configuration manually in CRXDE. You would have to know what the username and password property names are beforehand because they aren't created when the config is created. They should be the same as AEM 6.3 and probably the same as REST Basic Auth properties.
The configs are located in /conf/<cloud_config_name>/settings/cloudconfigs/fdm/<cloud_service_name>/jcr:content
Thank you - could you give me a hint where the cloud services nodes are stored? I was quickly looking for it but couldn't find it.
With kind regards
I'll try selecting the REST option and let you know if the fields are being displayed when I'm back at work
I also don't see any authentication fields for SOAP using Basic Auth either. If you select the REST option, you do see username/password fields appear in Step 2 of configuring the Create Data Source Configuration.
I will check and confirm you on this by tomorrow. Meanwhile, you can try adding the values for the authentication directly in the cloud services node.