Prepare AX Server 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 Microsoft Dynamics AX Connector'.

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.