Application Integration Framework (AIF) is the infrastructure within Microsoft Dynamics AX with which you can expose business logic or exchange data with other systems. AIF is comprised of three primary components:
Services - Enable you to expose business logic written in X++ as a service to be consumed by other applications. Within Microsoft Dynamics AX, you can create, customize, and publish services.
Document services - A specific implementation of services in which the Microsoft Dynamics AX business logic is exposed through document services.
Consume Web services - In Microsoft Dynamics AX, you can consume external Web services from your X++ code.
For origional post follow below link
-Harry