Beruflich Dokumente
Kultur Dokumente
Introduction
Microsoft Dynamics AX 2012 provides many services that can be used by the
Microsoft Dynamics AX components and with third-party applications. Services
are programmable artifacts in Microsoft Dynamics AX 2012. There are many
out-of-the-box document services that are shipped with Microsoft Dynamics AX
2012, which can be used as it is, or customized to fit requirements. Additionally,
new document services can be created, and any static method call can be exposed
as a service.
All customizable application and framework X++ services in Microsoft
Dynamics AX 2012 are compiled to Microsoft Intermediate Language (MSIL).
These services can be grouped together and deployed to ports, which is a new
concept introduced in Microsoft Dynamics AX 2012. A port represents a
Windows Communication Foundation (WCF) service endpoint. By default, a
port is hosted on the Application Object Server (AOS).
Microsoft Dynamics AX 2012 also ships with three non-customizable system
services: the Metadata service, the Query service, and the User session service.
With these services, clients can interact with and retrieve system information,
thus enabling the development of more powerful applications, data queries
through Office add-ins, and inquiries into system structure.
1-1
Concepts
Services and AIF is composed of a number of concepts. Distinguishing between
these concepts will help provide a building block for understanding the full
capability of Services and AIF. This lesson briefly introduces the concepts in
Services and AIF, which will be explained in detail in later chapters.
The following table shows the key concepts of Services and AIF.
1-2
Feature
Description
Application Integration
Framework
Description
Services
Service operations
Service groups
delete
find
findKeys
getKeys
getChangedKeys
read
update
1-3
Description
Integration ports
Adapters
1-4
NetTCP
File system
Messages
Schemas
Description
Transforms
Refactored Services
In Microsoft Dynamics AX 2012 Microsoft improved services with the following
key areas:
Performance enhancements
Inbound ports
Outbound ports
Web sites
1-5
Description
Services hosted on
the AOS
IIS services
hosted without a
.NET Business
Connector
AutoDeploy
property on
service groups
System services like Query service, Metadata data service, and user
session service have been added
1-6
Description
Service groups
Integration ports
Batched
messaging
Change tracking
Performance
improved
Security
Improved
troubleshooting
History
Queue manager
1-7
Description
Support data
model changes
Performance Enhancements
The following list describes enhancements in services and AIF that result in
improved performance:
You can host services on IIS for requests that originated from the
Internet; however, the routing service on IIS dispatches these
requests to the AOS host. All service requests, regardless of the
origin, are processed on the AOS.
Architecture
Microsoft Dynamics AX exposes its functionality through services that are based
on Windows Communication Foundation (WCF) and hosted on Application
Object Server (AOS) by default, or Internet Information Services (IIS) with extra
configuration. All services requests, regardless of their origin, are handled by the
WCF runtime that is hosted on AOS. External applications and client
applications on the local area network consume Microsoft Dynamics AX services
by accessing them directly from AOS.
1-8
Integrations
Most Microsoft Dynamics AX 2012 implementations will require integrating
with one or more other systems. Some examples of outside systems that would
require integration to Microsoft Dynamics AX 2012 include:
A corporate website
A shipping station
Creating and maintaining these integrations can be one of the more difficult tasks
that are performed in an implementation, and careful planning should be
performed to ensure smooth implementation and operation of these integrations.
Services and Application Integration Framework (AIF) provides a capable
platform for implementing these integrations.
Service Types
To support a range of options for customization and programmability, including
writing integrations, Microsoft Dynamics AX provides the following types of
services:
Custom Services are services that you create to expose X++ logic
through a service interface. You can use the business logic with
inbound or outbound transfers.
1-9
Integration Planning
Planning is an important part of any data integration effort. When you integrate
Microsoft Dynamics AX with other systems, one of the first steps is the planning
phase. In this phase, the implementation team must define high-level
requirements and make decisions about the design of the integration. After these
requirements are defined, the partner, IT staff, and development staff can work
together to define the best way to implement the exchange in Application
Integration Framework (AIF).
The decisions that must be made about the design of the integration fit into two
primary categories: decisions about the data and decisions about the
environment.
1-10
1-11
1-12
Skills Required
The following are the skills and expertise that is needed to fully take advantage
of services and AIF:
X++ development
1-13
Summary
Services and AIF for Microsoft Dynamics AX 2012 provide a first class
programming experience for integrations and creating applications. These
technologies allow data to be passed into external systems from Microsoft
Dynamics AX 2012, and into Microsoft Dynamics AX 2012 from external
systems, by using XML and other formats.
In Microsoft Dynamics AX 2012, services and AIF were refactored for
simplicity, alignment with industry standards, and to add more capabilities.
These changes include:
1-14
Adding features that allow services and AIF to be used for more than
integrations
Service groups
Batched messaging
Change tracking
1-15
2.
3.
1-16
Solutions
Test Your Knowledge
1. Categorize the following features:
a 1. Service
Groups
d 2.
Integration port
h 3. Support
for non-XML
files
e 4.
Performance
improved
f 5. Support
data model
changes
g 6. Improved
troubleshooting
c 7. Change
tracking
b 8. Batched
messaging
1-17
1-18