Consuming an existing document service

In Dynamics AX, document services allow data to be exchanged with external systems by sending and receiving XML documents, such as customers, sales orders, vendors, and many others.

In this recipe, we will explore how data could be retrieved from the system using one of the existing services. We will create a .NET console application that will get a currency description from the system using the read operation.

How to do it...

Carry out the following steps in order to complete this recipe:

  1. In the AOT, locate the CurrencyServices service group.
  2. Choose the Deploy Service Group option from the right-click context menu. A number of messages should be displayed in the Infolog about successful deployment.
  3. Open System ...

Get Microsoft Dynamics AX 2012 Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.