O'Reilly logo

Microsoft Dynamics AX 2012 R2 Services by Kenny Saelen, Klaas Deforche

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Consuming a document service

Let's head to Visual Studio and start consuming the document service that we created. You can open the Visual Studio project for this chapter, included in the code files for the book, to see the service in action.

If you are a more experienced Visual Studio user, you can create a project yourself by performing the following steps:

  1. In Visual Studio, create a project for a console application by navigating to File | New | Project….
  2. In the Installed Templates section, navigate to Visual C# | Windows.
  3. Choose a project of type Console Application, insert a name and location for the project, and click on OK.

To add the service reference, perform the following steps:

  1. In Solution Explorer, right-click on the name of your project ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required