
Hi,
I should import/update every night in Ax 2012 R2 Cu7 employees from a legacy system.
At the moment, since there is BizTalks server, I'm planning to use the l'AIF for the data import.
If I understood correctly the operation of AIF/BizTalk, the possibilities are 2:
1: -> I create an inbound service that reads from filesystem
-> BizTalk receives datas from external system and creates the XML
-> BizTalk puts the XML in a folder
-> The AIF service runs and elaborates the XML importing n(1 to n) employees.
2: -> I create an inbound service with an WCF Adapter that exposes update and insert operations
-> BizTalk receives data from external system and calls n times the service for every employee in the data.
If this assumptions are correct I'd like to know what is the best.
I also would like to know if it is better to use the standard service, in order to insert/update Worker (even if I have to import 3 fields to import), or if it is better to create and use an ad hoc table.
Thanks,
Matteo
*This post is locked for comments
I have the same question (0)I find both options good enough to implement.
In Option 1 major of the execution is going to happen at AOS server, at Biz talk level only configuration will be required
Option 2 is shared execution and will need some bit of programming effort at Biz talk server so that it can access Dynamics AX AIF services to create the employee
For me I would prefer standard service for this purpose.
please verify and update us with your findings