万本电子书0元读

万本电子书0元读

顶部广告

Microsoft Dynamics AX 2012 R2 Services电子书

售       价:¥

1人正在读 | 0人评论 9.8

作       者:Klaas Deforche

出  版  社:Packt Publishing

出版时间:2014-03-26

字       数:220.5万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
This book is a tutorial guide that covers each topic in depth with examples. The stepbystep approach will help you better understand each task as you will have to perform them frequently when utilizing the services. If you are a Dynamics AX developer, new or experienced who wants to implement services with Microsoft Dynamics AX 2012, then this book is for you. A basic understanding of MorphX and X++ is assumed, but the stepbystep instructions are easy to follow even for beginners. Some examples use C# and .NET, so experience with Visual Studio is a plus but not a must.
目录展开

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

累计评论(0条) 1个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部