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: Open the Sana project in the Application Object Tree (AOT) and expand the 'Services' section. Right-click on the 'SC_AXDataServiceClient' service, select 'Add-Ins', and then click 'Register actions'.

Step 2: In Microsoft Dynamics AX go to: Basic > Setup > Application Integration Framework > Services.

Step 3: Locate the 'SC_AXDataServiceClient' service.

Step 4: 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 5: 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