Microsoft Dynamics AX 2012 Services


Microsoft Dynamics AX 2012 Services
eBook: $23.99
Formats: PDF, PacktLib, ePub and Mobi formats
$20.39
save 15%!
Print + free eBook + free PacktLib access to the book: $63.98    Print cover: $39.99
$39.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Reviews
Support
Sample Chapters
  • Learn about the Dynamics AX 2012 service architecture.
  • Create your own services using wizards or X++ code
  • Consume existing web services and services you’ve created yourself

Book Details

Language : English
Paperback : 196 pages [ 235mm x 191mm ]
Release Date : December 2012
ISBN : 1849687544
ISBN 13 : 9781849687546
Author(s) : Klaas Deforche, Kenny Saelen
Topics and Technologies : All Books, Enterprise Products and Platforms, Microsoft Dynamics, Enterprise

Table of Contents

Preface
Chapter 1: Getting Started with Microsoft Dynamics AX 2012 Services
Chapter 2: Service Architecture and Deployment
Chapter 3: AIF Document Services
Chapter 4: Custom Services
Chapter 5: The SysOperation Framework
Chapter 6: Web Services
Chapter 7: System Services
Index
  • Chapter 1: Getting Started with Microsoft Dynamics AX 2012 Services
    • What are services and SOA?
      • Example implementations
        • Bing API
        • Mobile application
        • Business Process Modeling (BPM)
      • Architecture overview
    • What's new?
      • AOS WCF service host
      • WCF adapters
      • Integration ports
      • IIS hosting without Business Connector
      • Non-XML support
      • AIF change tracking
      • Custom services
      • The SysOperation framework
    • Types of services
      • Document services
      • Custom services
      • System services
        • Query service
        • Metadata service
        • User session service
      • The right service for the right job
        • Complexity
        • Flexibility
    • Summary
    • Chapter 2: Service Architecture and Deployment
      • What is WCF?
        • Existing technologies
        • The ABC of WCF
      • Service deployment
        • Service operations
        • Inbound versus outbound ports
          • Inbound ports
          • Outbound ports
        • Basic versus enhanced ports
          • Basic ports
          • Enhanced ports
      • Bindings
        • Adapters
          • NetTcp adapter
          • HTTP adapter
          • File system adapter
          • MSMQ adapter
          • Custom adapters
      • Service generation – under the hood
        • Generated artifacts
          • Service contract and implementation
          • Message contracts
        • WCF configuration storage
        • The power of CIL
          • CIL output
      • Summary
      • Chapter 3: AIF Document Services
        • What are document services?
        • Key components
          • Document query
          • Document class
            • Responsibilities of a document class
          • AxBC classes
            • Responsibilities of an AxBC class
          • Service class
          • Service node
        • Creating a document service
          • Setting the compiler level
          • Creating the query
          • Running the AIF Document Service Wizard
            • Selecting document parameters
            • Selecting code generation parameters
            • Generating code
          • Finishing up
            • Fixing compiler errors
            • Fixing tasks
            • Updating the service contract
            • Fixing best practice errors
            • Setting mandatory fields
        • Updating an existing document service
          • Adding service operations
          • Updating supporting classes
        • Deploying a document service
        • Consuming a document service
          • Create
          • Find
            • Creating query criteria
            • Using Find
          • Read
          • FindKeys
          • Update
          • Delete
          • GetKeys
            • Document filter
            • Using GetKeys
          • GetChangedKeys
        • Asynchronous communication
          • Send service framework
          • Batch processing
        • Summary
        • Chapter 4: Custom Services
          • Key components
            • Attributes
              • Custom services attributes
            • Data contracts
            • Service contracts
            • Collection types
          • Creating custom services
            • The Title service
              • The Title data contract
              • The Title list data contract
              • The Title service class
              • The Title list service operation
              • The Title list service operation
              • The Title service contract
          • Deploy the service
            • The rental service
        • Consuming the service
          • Example 1 – Retrieving titles
            • Adding the service reference
            • Consuming the service
          • Example 2 – Register a rental
            • Creating the service reference – Advanced
            • Consuming the service
        • Summary
          • Chapter 5: The SysOperation Framework
            • SysOperation versus RunBaseBatch
            • Creating a SysOperation service
              • Data contract
                • Declaration and members
                • Query helper methods
              • Service and service operation
              • Menu item
              • Testing
              • Validation
              • Defaulting
            • Running a SysOperation service
              • Service and service operation
              • Execution modes
                • Synchronous
                • Asynchronous
                • Reliable asynchronous
                • Scheduled batch
            • Custom controllers
              • Usage scenarios
                • Initializing the data contract
                • Dialog overrides
              • Creating a controller
                • Declaration
                • The main method
                • Constructor
                • Menu item
                • Testing
            • Custom UI Builders
              • Creating a UI Builder
                • Declaration
                • The override method
                • The postBuild method
                • One more attribute
                • Testing
            • Multithreading
              • Individual task approach
              • Helper approach
              • Enabling multithreading
            • Summary
            • Chapter 6: Web Services
              • Installing the Visual Studio Tools
              • Visual Studio development
                • Introducing the USA zip code service
                • Creating the Visual Studio proxy library
                • Adding the service reference
              • X++ development
                • Managed code deployment
                  • Deploy to Server
                  • Deploy to Client
                • Consuming the web service
                  • First attempt
                  • Fixing configuration issues
                  • Deploying between environments
                  • Final result
              • Summary
              • Chapter 7: System Services
                • What are system services?
                  • A demo application
                • Metadata service
                  • Filling the combobox
                • Query service
                  • Fetching data for the grid
                  • Paging the results
                • User session service
                  • Retrieving user information
                • Summary

                Klaas Deforche

                Klaas Deforche started working as a developer on Microsoft Dynamics AX in 2007 for the Belgian ICT company RealDolmen, primarily working with Dynamics AX 4.0. He gained experience with AX 2009 while working on projects for some well-known Belgian fashion retailers, especially on the integration side of things. He is currently working on AX 2012 projects for customers in the healthcare sector. Klaas likes to share his knowledge with the community, which is why he started his AX-oriented blog artofcreation.be in 2009. This is also why, in 2012, Klaas co-authored the book Microsoft Dynamics AX 2012 Services, Packt Publishing, to help spread knowledge on the subject.


                Kenny Saelen

                Kenny Saelen is a Dynamics AX MVP who works for the Belgian ICT company RealDolmen. He started as a developer on Microsoft Dynamics AX in 2004, primarily working on a European customer implementation with Dynamics AX 3.0. At RealDolmen, he gained experience with Dynamics AX 2009 while implementing AX internally, followed by an implementation at a book wholesale company. Currently, he is working as a technical architect for a worldwide customer implementation with Microsoft Dynamics AX 2012 R2, mainly working towards integrating Dynamics AX with other technologies such as SharePoint, BizTalk, and AgilePoint. He can be reached through his blog ksaelen.be.

                Code Downloads

                Download the code and support files for this book.


                Submit Errata

                Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                Sorry, there are currently no downloads available for this title.

                Frequently bought together

                Microsoft Dynamics AX 2012 Services +    Microsoft Dynamics AX 2012 Development Cookbook =
                50% Off
                the second eBook
                Price for both: $37.50

                Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                What you will learn from this book

                • Processing business logic synchronously and asynchronously
                • Using the AIF Document Service Wizard
                • Creating custom services in X++
                • Configuring enhanced integration ports
                • Deploying services using a variety of protocols
                • Consuming your services in .NET
                • Using system services in your applications
                • Using the SysOperation framework to create batch processes

                In Detail

                Because an ERP system like Microsoft Dynamics AX 2012 plays a central role in an organization, there will always be the need to integrate it with other applications. In many cases, services are the preferred way of doing this, and Microsoft Dynamics AX 2012 is now more flexible than ever when it comes to the creation and use of these services. Understanding these services will help you identify where they can be used, and do so effectively.

                "Microsoft Dynamics AX 2012 Services" is a hands-on guide that provides you with all the knowledge you will need to implement services with Microsoft Dynamics AX 2012. The step-by-step examples will walk you through many of the tasks that you need to perform frequently when creating and using services.

                "Microsoft Dynamics AX 2012 Services" provides detailed and practical examples for creating and using services that will make it a resource you will consult many times during your implementations

                This book helps you to identify situations where services can be used for your implementations. By providing step-by-step instructions for many of the common tasks, you will gain practical know-how on to get the job done.

                Easy to follow instructions are provided for all types of services you will encounter. You will learn how to create document services using the AIF Document Service Wizard and how to use X++ to create custom services. You will also learn how to deploy services and web services and how you can consume them in both X++ and .NET. The services are also put to use in the SysOperation framework, which uses services to run business logic and is the new way to create batch processes in Microsoft Dynamics AX 2012.

                Approach

                It's a tutorial guide that provides all the knowledge needed to implement services with Microsoft Dynamics AX 2012.

                Who this book is for

                This book is aimed at Dynamics AX developers, both new and experienced with services and Microsoft Dynamics AX 2012. A basic understanding of MorphX and X++ is assumed, but the step-by-step instructions are easy to follow even for beginners. Some examples use C#.NET, so experience with Visual Studio is a plus but not a must.

                Code Download and Errata
                Packt Anytime, Anywhere
                Register Books
                Print Upgrades
                eBook Downloads
                Video Support
                Contact Us
                Awards Voting Nominations Previous Winners
                Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                Resources
                Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software