Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft Dynamics AX 2012 Services

You're reading from   Microsoft Dynamics AX 2012 Services Everything you need to know about implementing services with Microsoft Dynamics AX 2012 is contained in this hands-on guide. Easy to follow and totally practical, it's a must for both new and experienced AX Dynamics developers.

Arrow left icon
Product type Paperback
Published in Dec 2012
Publisher Packt
ISBN-13 9781849687546
Length 196 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Key components

We will start by looking at the framework and its components. The key components of a document service are:

  • A query that is used in the AIF Document Service Wizard to create the document service
  • A document class that represents a business entity and contains the business logic for this entity
  • One or more AxBC classes that encapsulate a table and are used by the document class to create, modify, and delete data in tables
  • A service class that contains the service operations

Of course, there's more to these components than the few words we've used here to describe them. We will now look at these components one by one, starting with the query.

Document query

Each document service is based on a query defined in the AOT. By using the AIF Document Service Wizard, a document class is generated and XML schema definitions used for XML serialization are derived from the corresponding query. So the XML message will have a correlation to the query object. In the following screenshot...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime