Szczegóły ebooka

Microsoft Dynamics AX 2012 R2 Services. Using Microsoft Dynamics AX to create and run your own services is made plain sailing with this in-depth tutorial. Covering everything from document services to building customized services and batch processing, it’s the complete guide

Microsoft Dynamics AX 2012 R2 Services. Using Microsoft Dynamics AX to create and run your own services is made plain sailing with this in-depth tutorial. Covering everything from document services to building customized services and batch processing, it’s the complete guide

Saelen Kenny, Klaas Deforche

Ebook
  • Microsoft Dynamics AX 2012 R2 Services
    • Table of Contents
    • Microsoft Dynamics AX 2012 R2 Services
    • Credits
    • About the Authors
    • About the Reviewers
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
        • Instant Updates on New Packt Books
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 1. Getting Started with Microsoft Dynamics AX 2012 Services
      • Introducing services and SOA
        • Example implementations
          • Bing API
          • Mobile application
          • Business Process Modeling (BPM)
      • Architectural overview
      • New and enhanced features
        • The 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
          • The query service
          • The metadata service
          • The user session service
          • The OData query service
        • Choosing the right service for the job
          • Complexity
          • Flexibility
      • Summary
    • 2. Service Architecture and Deployment
      • Introducing 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
            • Creating a basic port
          • Enhanced ports
            • Creating an enhanced port
            • Adapters
            • Service operations
            • Data policies
            • Transforms
            • Pipelines
            • Value mapping
            • Document filters
            • Troubleshooting
            • Security
      • Bindings
      • Adapters
        • The NetTcp adapter
        • The HTTP adapter
        • The filesystem adapter
        • The MSMQ adapter
        • The Windows Azure Service Bus 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
    • 3. AIF Document Services
      • Introducing document services
      • Key components
        • The document query
        • The document class
          • Responsibilities of a document class
            • XSD generation
            • XML serialization and deserialization
            • Cross-table business logic
            • Validation and business rule enforcement
        • AxBC classes
          • Responsibilities of an AxBC class
            • Performing validation
            • Providing field sequencing
            • Performing value mapping
            • Setting default values
        • The service class
        • The 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
            • ClassDeclaration
            • The cacheObject() method
            • The cacheRecordRecord() method
          • Fixing tasks
            • Labels
            • Generating an XSD schema
            • Constraints
            • Validation
          • Updating the service contract
          • Fixing best practice errors
          • Privileges
          • 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
      • The send service framework
      • Batch processing
      • Summary
    • 4. Custom Services
      • Key components
        • Attributes
          • Custom services attributes
        • Data contracts
        • Service contracts
        • Collection types
      • Creating custom services
        • The Title service
          • Creating the Title data contract
          • Creating the Title list data contract
          • Creating the Title service class
          • Creating the Title service operation
          • Creating the Title list service operation
          • Creating the Title service contract
      • Deploying services
      • The rental service
        • Rental header and line tables
        • Rental service operations
        • Rental data contracts
        • The createRental service operation
      • Consuming services
        • Example 1 retrieving titles
          • Adding the service reference
          • Consuming the service
        • Example 2 registering a rental
          • Creating the service reference advanced
            • Always generate message contracts
            • Collection type
            • Consuming the service
      • Summary
    • 5. The SysOperation Framework
      • SysOperation versus RunBaseBatch
      • Creating a SysOperation service
        • The 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
          • ReliableAsynchronous
          • ScheduledBatch
      • 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
          • Linking the UI Builder to the data contract
          • Testing
      • Multithreading
        • The individual task approach
        • The helper approach
        • Enabling multithreading
      • Summary
    • 6. Web Services
      • Installing Visual Studio tools
      • Visual Studio development
        • Introducing the USA zip code service
        • Creating the Visual Studio proxy library
        • Adding a service reference
      • X++ development
        • Deploying managed code
          • Deploy to Server
          • Deploy to Client
        • Consuming the web service
          • First attempt
          • Fixing configuration issues
          • Deploying between environments
          • Final result
      • Summary
    • 7. System Services
      • Introducing system services
        • Presenting a demo application
      • The metadata service
        • Filling the combobox
      • The query service
        • Fetching data for the grid
        • Paging the results
      • The user session service
        • Retrieving user information
      • The OData query service
        • Creating and publishing a data source
          • Creating a query
          • Setting up document data sources
        • Consuming the OData query service using Internet Explorer
        • Consuming the OData query service using Visual Studio
          • Adding a service reference
          • Fetching data for the grid
        • Consuming the OData query service using other applications
        • Limitations
      • Summary
    • 8. High Availability
      • Introducing high availability
        • Adding redundancy
        • Disaster recovery
      • Putting high availability into practice
        • The basic architecture
        • Application-level load balancing
          • Configuring the cluster
          • Adding a dedicated load balancer
        • Network Load Balancing
        • NLB for AX load balancers
        • NLB for services
      • Summary
    • 9. Tracing and Debugging
      • Installing development tools
      • Using the Microsoft Dynamics AX 2012 debugger
        • Debugging the SysOperation framework
        • Testing service operations
      • Using the Visual Studio debugger
        • Launching Visual Studio
        • Attaching the debugger to the AOS
        • Setting breakpoints
        • Debugging a service call
      • Using the Tracing cockpit
        • Collecting a trace
      • Using the integration port logging mode
        • Configuring the logging mode
        • Consulting the log
      • Using WCF message logging and tracing
        • Configuring message logging and tracing
        • Analyzing service traces
          • Analyzing message logging
          • Analyzing tracing
      • Summary
    • A. Installing the Demo Application
      • Prerequisites
      • Dynamics AX 2012 models
        • Using PowerShell
        • Using AxUtil
      • Dynamics AX XPO file
      • Code snippets
      • Initializing number sequences
      • Visual Studio code
        • Opening the samples
        • Modifying the service references
      • Sample data
    • Index
  • Tytuł: Microsoft Dynamics AX 2012 R2 Services. Using Microsoft Dynamics AX to create and run your own services is made plain sailing with this in-depth tutorial. Covering everything from document services to building customized services and batch processing, it’s the complete guide
  • Autor: Saelen Kenny, Klaas Deforche
  • Tytuł oryginału: Microsoft Dynamics AX 2012 R2 Services. Using Microsoft Dynamics AX to create and run your own services is made plain sailing with this in-depth tutorial. Covering everything from document services to building customized services and batch processing, it’s the complete guide.
  • ISBN: 9781782176732, 9781782176732
  • Data wydania: 2014-03-26
  • Format: Ebook
  • Identyfikator pozycji: e_3bhp
  • Wydawca: Packt Publishing