At Your Service: Microsoft Dynamics AX 2012 Integration and Web Services
Posted on: February 27, 2012 | By: SuperUser Account | Microsoft Dynamics AX/365
Standards-based web services are undoubtedly the programming model with the widest possible reach across platform boundaries. In Microsoft Dynamics AX 2012, Microsoft has greatly emphasized the role of services, both in integration with other line-of-business applications and as a programming model to expose the rich functionality of the application. Microsoft believes these enhancements will benefit their customers by significantly reducing the time it takes to develop custom applications and by enabling the enterprise resource planning (ERP) system to reach the entire organization.
In enterprise IT scenarios, web services are typically thought of as a means of integration between line-of-business applications. Although integration is an indispensable part of any nontrivial ERP implementation, in Microsoft Dynamics AX 2012, Microsoft has elevated services to a first-class programming model, which not only streamlines integration but also facilitates customization by exposing functionality across the entire application. Microsoft achieved this by introducing a new services architecture, built on Windows Communication Foundation (WCF), and by making some major rationalization and simplification changes to the application integration framework (AIF) features.
The Services Architecture
One of their goals in development of Microsoft Dynamics AX 2012 was to clean up and simplify the application architecture. In particular, in this version, they have drawn clean lines between the services as a programming model and integration-specific features. They have added many more prebuilt services that come ready out-of-the-box. In addition, we created a better tooling/development environment to enable developers to build new or custom services that expose specific functionality that may not be covered by the out-of-box services.
Microsoft customers tell us that no matter how rich the features are when they ship with the product, there will always be a need for functionality that is unique to a particular business or process. They acknowledge this need for customization with what we call “no code servicization” features, which essentially let a developer turn any existing X++ class into data contracts and service contracts by using simple declarative attributes. Support for attribute-based services contracts ensures that developers won’t have to start from scratch when building services or customizing the product to expose specific functionality. Microsoft’s goal was to increase the surface area of the product functionality that is accessible via services and to empower and enable partners and developers to do so easily by themselves.
The second major area where they directed their energies is in simplifying the configuration and management of integration solutions built on the AIF in Microsoft Dynamics AX. Development, deployment, configuration, and maintenance of integrations between Microsoft Dynamics AX and external systems can be a challenging undertaking. Each integration is typically custom-tailored to the specific instance, and the degree of complexity of each might range from very simple to extremely complex. Based on feedback from their customers and partners, they sought to simplify the integration processes, reducing the number of concepts and steps required to set up the most common integration scenarios.
Microsoft reduced and simplified the concepts by adhering to three key principles:
Where applicable, retire proprietary concepts and replace them with standard concepts widely adopted in the industry and supported by standards bodies. This reduces the occurrence of proprietary concepts in Microsoft Dynamics AX that conflict with well-known standardized concepts with similar names in other products, such as Microsoft BizTalk Server and Windows Communication Foundation.
Organize the user experience for configuration and management to follow the principle of “progressive disclosure,” where additional concepts are exposed only on an as-needed basis. This reduces the number of top-level concepts and eliminates concepts with no clear starting points or course of action for creating and configuring integration solutions.
Optimize the user experience around the majority of configuration scenarios, which don’t require extremely fine granularity of control. This enabled Microsoft to eliminate tedious repetition from many configuration tasks, which, from our experience, had been both complex and error-prone.
Microsoft Dynamics AX 2012 also provides built-in features for supporting integrations involving request and data formats other than XML, without requiring the use of middleware servers to broker connections between systems. For example, to perform simple transforms between the standards-based SWIFT bank format and Microsoft Dynamics AX XML formats for electronic-banking scenarios, the integration ports in AIF allow for plugging in custom transform components that help realize the solution seamlessly.
The AIF stack now also supports flexible logging and tracking of requests and responses and flexible error-handling behavior, which administrators can control through configuration to continue, halt, or roll back when errors occur during bulk request message-handling processes. These powerful new features let you implement key integration scenarios with less effort.
Using Industry Standards
Microsoft also sought to adhere to industry standards wherever applicable in the services architecture. All shipping services are built on Microsoft .NET Framework 4.0 and Windows Communication Foundation (WCF), which will simplify development of applications for Microsoft Dynamics AX and open the platform to interaction with other platforms such as Java-based applications or Windows Phone applications, paving the way to mobile and remote scenarios.
These are just a couple of the areas where Microsoft made some great improvements based on input from the customer and partner channel. Watch this video with CV, Prinicpal Program Manager at Microsoft, for an update on some of the advances made in this area of Microsoft’s simplicity focus.
For additional information please feel free to reach out to us at email@example.com or call (312) 345-8817.
25 Brilliant Ideas to Outsmart Your Competition with Microsoft Dynamics
Top 10 Inventory & Operations Decisions Distributors Are Making Blind
2020 Nucleus Research Report on ERP Technology