Friday, April 29, 2011

WCF services in AX 2012

Since X++ can be compiled to CIL in AX 2012 it became possible to change the way how X++ services are implemented.
Now all X++ services are WCF services and they are executed in the WCF runtime hosted on the AOS.
It is really hard to overestimate the benefits of this feature. Let me mention here just a few of those:
  1. Every service has now WSDL definition. This means that it is extremely easy to generate proxy classes for those services for external clients using standard tools like svcutil.exe (add service reference in VS) or WSDL2java.
  2. There is a new protocol to communicate with AOS now – WCF, in addition to the regular RPC.
  3. Seamless integration with many applications\technologies, like MSMQ or BizTalk.
  4. Simple and standard security model.

It is really nice to see that powerful and standardized technologies are coming to AX.

And one more thing to mention. In AX 2012 all AIF and services concepts were simplified significantly. Just look how AIF menu section was changed:

And most of the setup can be done now just from this very nice form:


  1. Our organization's approach to SOA involves the Rest approach to Web Services. We'd like to be able to utilize information provided by these services from AX 2012. I'm told that the only solution is use middleware, that AX can't consume Restful services directly. Does anyone have evidence to the contrary? ~ tj

  2. It should be possible to change the WCF behaviour through WCF behaviour's (extensions)

  3. Hello :) It is a big pleasure to read your blog. Thank you so much for sharing this article about Microsoft Dynamics AX posting profile inventory transactions in Modules.

  4. If you need your ex-girlfriend or ex-boyfriend to come crawling back to you on their knees (no matter why you broke up) you have to watch this video
    right away...

    (VIDEO) Why your ex will NEVER come back...

  5. Really great Blog, Thank you for sharing This Awsome knowledge.
    Excellently written article, if only all bloggers offered the same level of content as you, the internet would be a much better place. Please keep it up!
    Call girls in Islamabad

  6. شركة اللمسة الأخيرة تقدم لك الحل الأمثل فلا حشرات بعد اليوم ولن تعود مرة أخرى. فنحن نستخدم أفضل المبيدات العالمية الفعالة صديقة البيئة التي لا تترك رائحة ولا سيوثر على صحة الأنسان ويقوم باستخدامها عمال مدربون يقومون برش المبيدات بشكل علمي مما يضمن لك الراحة التامة نرجو التواصل على هذا الرقم 0580002467
    شركة رش مبيدات بأبها
    شركة مكافحة حشرات بأبها
    شركة مكافحة النمل الابيض بأبها
    شركة رش مبيدات بخميس مشيط
    شركة مكافحة حشرات بخميس مشيط
    شركة مكافحة النمل الابيض بخميس مشيط
    شركة رش مبيدات بالقصيم
    شركة مكافحة حشرات بالقصيم
    شركة مكافحة حشرات بجازان
    شركة رش مبيدات بجازان