Search This Blog

14 July 2011

My first AIF project is finally flying :-)

Finishing a project is always the most thrilling moment in a project. Seeing finally the application been used by customers and colleagues is just magic and the major reason for me to work in the IT...
7 months of hard work and the new EDI platform for the purchase and sales process is finally flying. The publicly visible part of the eCommerce is the WebShop which is a custom .Net Web-application that is communicating via BizTalk with the AIF framework. Because of the quite disappointing standard AIF-services, I decided to create a complete new EDI-platform on top of AIF. The platform is now online for the German subsidiary of Camfil, but it will be soon rolled out in most other European countries. I hope I will find the time to blog about some of the strategic key elements of that architecture in the next weeks (why not using the Enterprise Portal or the standard AIF services, how to prevent performance bottle necks, testing AIF services and integrating EDI smoothly into standard processes)
A big thank you, Mathias, Alex, Sebastian, Markus, Peter and Bettina, for all your great work :-)


  1. Hi Florian,

    Good to hear your AIF project is running.
    I'm doing some AIF too, but I find the standard AIF services also a bit disapointing. I'm no a big fan of document services in general, because you get lots of error that are difficult to solve.
    I hope you'll make some blogposts about AIF with some tips and tricks :-).

  2. Thanks, Klaas. I'll do that :-)

  3. Hi friend, This query is regarding AIF where I import data from an xml file in Ax 12 using file system adapter. I have a custom table say MetroTable with 4 fields . I have created query, AIF classes (Service class, Axd class, AXBC class) and configured the inbound port. I can successfully import data from xml file in Ax using “Create” service operation and response xml file also gets created afterwards. All these runs in AIF batch job or can be run directly.
    Now, during my import, I wanted to assign a field value of “Remarks” or want to manipulate other values. I tried writing few code in Axd class in prepareForSaveExtended() method or prepareForSave() method, but nothing happens. I also did some modification in AXBC class in the method setTableFields(), initRecords(), but again nothing changes after import. It only imports the data as specified in the xml file.

    I tried to debug as well, but the break point never activate in those classes. Looks like, those classes never called during data imort from xml. I know I am going wrong somewhere 

    Basically, what I am looking for, I want to do some insert/update in other tables or objects based on what I am importing from xml file using AIF file system adapter.

    Please help to comprehend me this. Thank you.