Tips for Creating Services in Microsoft Dynamics AX 2009: Concepts and Recommendations for Developers That Are Creating Custom Services
Microsoft Dynamics AX 2009 ships with document services that encapsulate common business logic and provide a method for exchanging data with other systems. If an existing document service does not provide the functionality that one needs, one can create own document service by using the AIF Document Service Wizard. Using the AIF Document Service Wizard to create a new service creates the necessary classes and artifacts. However, one must then add code and business logic to create a robust and fully functional service. This paper provides recommendations for how to design and implement custom services, along with guidance to refactor business logic.