Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
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

Service generation – under the hood

While services are being deployed when activating integration ports, there is more going on than meets the eye. A service generator written in X++ kicks in and creates the artifacts needed by the AOS to host the WCF services. These artifacts are files containing managed code (C#) and contain the service implementation, message contracts, and a WCF configuration. To explain this, we will take a closer look at one of the out-of-the-box integration ports: the DocumentHandling port.

Generated artifacts

When you take a look at the DocumentHandlingService service node in the AOT, you will find that this service has one method called Create. So when we deploy this service, we expect the following generated artifacts to be able to host the WCF service:

  • A service contract which contains the service's interface
  • An operation contract for the Create service operation
  • Request and response message contracts for each operation used in the implementation of the...
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
Banner background image