Book Image

Microsoft Dynamics AX 2012 R2 Services

Book Image

Microsoft Dynamics AX 2012 R2 Services

Overview of this book

Table of Contents (17 chapters)
Microsoft Dynamics AX 2012 R2 Services
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 6. Web Services

For the better part of this book, we have developed services in Microsoft Dynamics AX and exposed them. However, in this chapter, we will see how to consume a web service from Microsoft Dynamics AX 2012.

In the previous versions of Microsoft Dynamics AX, you could add a web service reference in a reference node in the AOT. This generated proxy classes and other artifacts that you could then use to consume the service. In Microsoft Dynamics AX 2012, we no longer have the option to add service references to the AOT. Instead, Microsoft Visual Studio is used to generate all artifacts, which are then added to the AOT.

How this works and how this can be done will all become clear in this chapter.

The following topics will be covered in this chapter:

  • Installing Visual Studio tools: We have to install additional components because part of the development takes place in Visual Studio 2010. You will learn which components to install and what exactly they do.

  • Visual Studio development...