AEM Forms 6.4 JEE - Configure SOAP Web Service Data Source

Maruan_Sahyoun

18-06-2018

Hi,

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

IE 11

BR

Maruan

Accepted Solutions (1)

Accepted Solutions (1)

Mayank_Gandhi

Employee

19-06-2018

This is a known issue and will be fixed in 6.4.1. You may bookmark AEM Forms releases page for the update.

DarrenBiz has mentioned the path already where you need to set the values, you can easily contemplate properties and values if you have 6.3.

Answers (14)

Answers (14)

Maruan_Sahyoun

17-07-2018

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. 

Maruan_Sahyoun

12-07-2018

Hi,

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

Maruan

Mayank_Gandhi

Employee

19-06-2018

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.

Thanks!

Maruan_Sahyoun

19-06-2018

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.

DarrenBiz

18-06-2018

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

Maruan_Sahyoun

18-06-2018

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

Maruan

DarrenBiz

18-06-2018

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.

Mayank_Gandhi

Employee

18-06-2018

Hi Maruan,

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.