Before the AIF can be used, it must be set up and configured. For example, endpoints must be specified to determine which company in Dynamics AX, AIF will exchange
data with. This section will cover the rudimentary configuration of the AIF, regardless of the transport adapter used. The following checklist outlines the required steps
before you can begin to implement an adapter for document exchange:
1. Specify global settings.
2. Provide local endpoints.
Specifying global settings
Various general settings are available to tweak the AIF. Some of these settings can be overridden in the individual implementation either in the adapter or services
themselves. For example, the default encoding format can be specified but can also be overridden, if necessary. The purpose of these settings is to streamline typical settings
when creating services. Additionally, these settings can also be manipulated to tweak performance, such as the cache lifetime or resource locking. To modify these settings,
go to Basic | Setup | Application Integration Framework | Global settings.
Specifying local endpoints
Local endpoints determine where a document or message will ultimately be received or sent from, in Dynamics AX. There can be multiple local endpoints for a single transport method of document exchange. Since Dynamics AX provides a multi company setup, it is possible to have multiple local endpoints point to multiple companies at the same time. There is at least one company for any local endpoint. In this section, we will cover the process of setting a simple local endpoint.
1. To begin the process of specifying an endpoint, go to Basic | Setup |Application Integration Framework | Local endpoints.
2. In the Local endpoints form, create a new line and select the company account that will be the local endpoint for document exchange and provide a name for the endpoint.