InstallationPrepare AX EnvironmentConfigure the Web Service

Prepare AX Environment

Open 'Prepare AX Server Environment' wizard, choose your AX version and service to see more information.

Configure the Web Service

Configuration of the AIF service can be accomplished only when the Sana Commerce project is imported into the Microsoft Dynamics AX environment. How to import the project, see 'Import Sana Project'.

To configure the web service the following steps should be performed:

Step 1: In Microsoft Dynamics AX go to: 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 and click 'Configure' to modify the WCF configuration.

If the Windows SDK is installed the Microsoft Service Configuration Editor (SvcConfigEditor.exe) will open and enable you to modify the WCF configuration.
If the Windows SDK is not installed then the Microsoft Service Configuration Editor is not available and you should modify the AIF 'web.config' file manually in any text editor.

Step 3: Create a new service binding of the 'basicHttpBinding' binding type and type the binding name.

Step 4: Set the values to the maximum number (9999999) for the following properties 'MaxBuferPoolSize', 'MaxBufferSize', 'MaxReceivedMessageSize' and values under the 'ReaderQuotas Properties' section:


Creating and Configuring Service Binding

Step 5: Under the 'Security' tab select the 'TransportCredentialOnly' mode and 'Windows' TransportClientCredentialType:


Configure Security Settings

Step 6: Modify the automatically generated endpoint or create a new one and specify the endpoint name.

Step 7: In the 'Binding' field select the 'basicHttpBinding' binding type.

Step 8: In the 'BindingConfiguration' field select the previously created binding:


Configuring Service Endpoint

If all steps have been followed and performed then web service is configured.

   It is recommended to secure your AIF service with the SSL certificate to protect Microsoft Dynamics AX system communications. It should be done before you enable the service. You can also do it later on, but you will need to disable the service to set up SSL. For more information, see 'SSL Certificate for AX Web Services'.

InstallationPrepare AX EnvironmentConfigure the Web Service