Configure AIF service on Dynamics AX step by step

    This post will show how to configure AIF service on Dynamics AX. AIF service is a exposed interface, we often use it to expose some AX data to external system. Such as Dynamics CRM, Microsoft SharePoint and customizing application. The mechanism of AIF service base on WCF service, so AIF service can do  any thing as same as WCF service.

    In the rest of post I will configure a simple AIF service and try to invoke it using customizing application, the detail steps as below:

1. Log in Dynamics AX 2012 and enter developer center of AX(Ctrl+D). And create a custom table in data dictionary.

Configure AIF service on Dynamics AX step by step_第1张图片

 

2. Add some fields in the created table.

Configure AIF service on Dynamics AX step by step_第2张图片

3. Create a query using previous created table

Configure AIF service on Dynamics AX step by step_第3张图片

 

4. Right click on the created query and choose option "AIF creation wizard" in context menu.

Configure AIF service on Dynamics AX step by step_第4张图片

5. Follow the wizard to create AIF service and the detail settings as below.

Configure AIF service on Dynamics AX step by step_第5张图片

6. When AIF creation wizard was finished we should compile AIF service project first.

Configure AIF service on Dynamics AX step by step_第6张图片

Configure AIF service on Dynamics AX step by step_第7张图片

7. Once the AIF service was created successfully, then go to configure Inbound settings.(AX->system administrator pane-> service integration-> inbound)

Configure AIF service on Dynamics AX step by step_第8张图片

8. The configuration steps of Inbound as below.

Configure AIF service on Dynamics AX step by step_第9张图片

Configure AIF service on Dynamics AX step by step_第10张图片

Configure AIF service on Dynamics AX step by step_第11张图片

9. Use WCF Test Client tool to test the AIF service(Try to add one record in AX through the created AIF service).

 Configure AIF service on Dynamics AX step by step_第12张图片

Configure AIF service on Dynamics AX step by step_第13张图片

你可能感兴趣的:(Configure AIF service on Dynamics AX step by step)