O'Reilly logo

Microsoft Dynamics AX 2012 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, which is 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. In Visual Studio, create a project for a console application by going to File | New | Project…. In the Installed Templates section, select Visual C# | Windows. Choose a project of type Console Application, insert a name and location for the project, and click on OK.

To add the service reference, in the Solution Explorer right-click on the Service References node of your project and click on Add Service Reference…

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