Purpose: The purpose of this document is to illustrate how we can develop AIF document service, what are the important methods available that can be overridden to do the customization and finally how we can consume/unit test the document service through an external .NET application. Business requirement: Ability to integrate Dynamics AX with external systems.... Continue Reading →
AX 2012: Create AIF custom service
Purpose: The purpose of this document is to illustrate how we can develop AIF custom service. Business requirement: Ability to integrate Dynamics AX with external systems. Assumptions: Application Integration Framework has been configured to process inbound and outbound messages. Development: Create a data contract class. Use [DataContractAttribute('Name')] attribute to indicate class represents data contract. Use [DataMemberAttribute('Name')]... Continue Reading →
AX 2012: Trigger AIF Document Service Outbound Message in X++
Purpose: The purpose of this document is to illustrate how we can trigger the generation of AIF document service outbound message in X++. Business requirement: Ability to generate an AIF outbound xml message on demand. Assumptions: Outbound port is configured using file system adapter. Development: Please find the job below to trigger an AIF document... Continue Reading →
AX 2012: AIF Document Service Invalid Data Container Type
Error: Invalid data container type. Resolution: Compile forward AfStronglyTypedDataContainer class.
AX 2012: Integrate Dynamics AX with Website
Challenge: What if you need to integrate a Retail E-Commerce website with the powerful Dynamics AX ERP at backend to leverage numerous functional capabilities it offers in the areas like but not limited to Supply Chain Management. Then you are reading the right blog post! We can achieve it through exposing custom AIF services as web services on IIS using... Continue Reading →
AX 2012: Creating enhanced inbound port
Prerequisites: 1. Full compile has been performed revealing no errors 2. Full CIL has been performed successfully 3. Incremental CIL has been performed after compiling the new service class To create an enhanced inbound port for your custom service, please follow the steps below: 1. Right click on the service node, CustomerService in this case,... Continue Reading →