InstallationInstall Sana Add-on in AX EnvironmentEnable and Generate AIF Service

Install Sana Add-on in AX Environment

Open 'Install Sana Commerce on AX Environment' wizard, choose you AX version and service to see more information.

Enable and Generate AIF Service

To enable and generate AIF service in Microsoft Dynamics AX the following steps should be performed:

Step 1: In Microsoft Dynamics AX go to the following location: 'Basic > Setup > Application Integration Framework > Services'. If the 'AIF Services' form is opened for the first time click the 'Refresh' button to load the list of AIF services. It may take some time to load AIF services.

Step 2: Locate the 'SC_AXDataServiceClient' service.

Step 3: Click on the 'Generate' button to generate the service artifacts for each enabled AIF service. The generation process copies the service and all the generated files to the folder '[Microsoft Dynamics AX installation path]\Application\Appl\DynamicsAx\ServiceGeneration'.

If there are configured webshops in the 'Webshops' form the service is copied to the content directory specified for each webshop (by default the content directory is '[Microsoft Dynamics AX installation path]\AifWebservices'). This enables external callers to consume the service and is only necessary for document exchanges using web services.

The generated service artifacts include the following:

  • The '*.svc' file;
  • The schemas for the service operation parameters and return values;
  • The 'web.config' file.


AIF Service Configuration

Step 4: Select the 'Enabled' checkbox to enable the 'SC_AXDataServiceClient' service.

If all steps have been followed and performed then AIF service is enabled and generated.

InstallationInstall Sana Add-on in AX EnvironmentEnable and Generate AIF Service