售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Microsoft Dynamics AX 2012 Services
Table of Contents
Microsoft Dynamics AX 2012 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
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
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
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
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
3. AIF Document Services
What are document services?
Key components
Document query
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
Validation
Field sequencing
Value mapping
Default values
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
ClassDeclaration
The cacheObject method
The cacheRecordRecord method
Fixing tasks
Labels
Generating an XSD job
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
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
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
Rental header and line tables
Rental service operations
Rental data contracts
The createRental service operation
Consuming the service
Example 1 – Retrieving titles
Adding the service reference
Consuming the service
Example 2 – Register 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
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
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
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
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜