Populating missing service operations for AIF in Dynamics AX 2012

Occasionally, existing service operations might not be available for selection within the AIF configuration forms. This issue can occur with the standard document services provided by Microsoft and also with custom services that are newly created. The fix is simple and only takes a few minutes to complete.

Symptoms

When configuring ports for AIF, service operations which are known to exist sometimes do not show up in the configuration forms.

Example:

System administration > Services and Application Integration Framework > Inbound ports

The LedgerGeneralJournalService should be available out-of-the-box with AX 2012, but in this example it doesn’t appear in the list of Service operations.

Causes

  1. If you’re missing standard document services (e.g. LedgerGeneralJournalService) in a new installation of AX, the Set up Application Integration Framework task on the Initialization checklist might have been skipped during the original installation process.
  2. If you’re missing a custom service, you might have forgotten to register the service.

Resolution

In my example above, the LedgerGeneralJournalService was missing from the Service operations in the Inbound ports configuration form, but LedgerGeneralJournalService does appear in the Services node of the AOT.

AOT > Services


Right click on any service in AOT > Services and click Add-Ins > Register service.

On the AIF services form, click the Refresh button.

The refresh operation will take a few minutes to complete. When it’s done, the missing services will be available for selection in the AIF configuration forms (e.g. Inbound ports > Service operations).

2 thoughts on “Populating missing service operations for AIF in Dynamics AX 2012

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.