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& - Helion
ebook
Autor: Saelen Kenny, Klaas DeforcheTytuł 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&
ISBN: 9781782176732
stron: 264, Format: ebook
Data wydania: 2014-03-26
Księgarnia: Helion
Cena książki: 152,10 zł (poprzednio: 169,00 zł)
Oszczędzasz: 10% (-16,90 zł)
Osoby które kupowały "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&", wybierały także:
- Windows Media Center. Domowe centrum rozrywki 66,67 zł, (8,00 zł -88%)
- Ruby on Rails. Ćwiczenia 18,75 zł, (3,00 zł -84%)
- Przywództwo w świecie VUCA. Jak być skutecznym liderem w niepewnym środowisku 58,64 zł, (12,90 zł -78%)
- Scrum. O zwinnym zarządzaniu projektami. Wydanie II rozszerzone 58,64 zł, (12,90 zł -78%)
- Od hierarchii do turkusu, czyli jak zarządzać w XXI wieku 58,64 zł, (12,90 zł -78%)
Spis treści
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 eBook -- spis treÅ›ci
- 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
- Support files, eBooks, discount offers and more
- 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)
- Example implementations
- 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
- Introducing services and SOA
- 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
- Basic ports
- 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
- Generated artifacts
- The power of CIL
- CIL output
- Summary
- Introducing WCF
- 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
- Responsibilities of a document class
- AxBC classes
- Responsibilities of an AxBC class
- Performing validation
- Providing field sequencing
- Performing value mapping
- Setting default values
- Responsibilities of an AxBC class
- 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
- Fixing compiler errors
- 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
- Attributes
- 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
- The Title service
- 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
- Creating the service reference advanced
- Example 1 retrieving titles
- Summary
- Key components
- 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
- The data contract
- 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
- Usage scenarios
- Custom UI Builders
- Creating a UI Builder
- Declaration
- The override method
- The postBuild() method
- Linking the UI Builder to the data contract
- Testing
- Creating a UI Builder
- 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
- Deploying managed code
- 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
- Creating and publishing a data source
- Summary
- Introducing system services
- 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
- Introducing high availability
- 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