Introduction
Dynamics AX provides many out of the box services—programmable objects that can be used to communicate with application components or third-party applications. In order to meet complex business requirements, the existing services can also be customized or new services can be created from scratch.
The services are divided into three categories: non-customizable built-in system services, document services, which provide a standard approach for communicating between systems, and custom services, which allow any X++ logic to be exposed as a service.
In this chapter, various scenarios of creating and consuming all three types of services will be presented. The recipes in this chapter will demonstrate how services can be exposed and consumed using different techniques. All examples, one way or another, will use the system currency information.