concepts and capabilities key takeaway #1 standardized integration stack key takeaway #2 enhanced...

37

Upload: sherilyn-griffith

Post on 28-Dec-2015

229 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration
Page 2: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Integrating Dynamics AX with other line of Business Applications

Nitin SharmaSr. Program Manager

BRK314

Page 3: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Disclaimer© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. Other names and brands may be claimed as the property of others.

Microsoft Dynamics AX 2012 R2 is a pre-release product under development. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft. Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. All product release dates and features specified are preliminary based on current expectations, and are subject to change without notice. Microsoft may make changes to specifications and product descriptions at any time, without notice.

Sample code included in this presentation is made available AS IS. THE ENTIRE RISK OF THE USE OR THE RESULTS FROM THE USE OF THIS CODE REMAINS WITH THE USER.

MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS PRESENTATION. Microsoft products are not intended for use in medical, life saving, or life sustaining applications.

Page 4: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Session Focus

Concepts and capabilities

Key Takeaway #1

Standardized Integration

Stack

Key Takeaway #2

Enhanced integration

features

Key Takeaway #3

Integration Considerations

Page 5: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Integration scenarios

Contoso

Request

Online services•Bing•Amazon•etc.

Enterprise applications

Request

Interactive client apps

Request

Trading partners

Request

Page 6: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Components in action today

Public SectorServices SectorManufacturing Distribution Retail

Financials SCM Inventory Projects

CPM & GRC CRM HCM: HR & Payroll SRM

Horizontal Applications

Reference Data

Application FoundationMaster Data Application Primitives

Clients

FrameworkServers Tools

Technology Stack

Industry Sector Applications

Application Integration Framework

Services Framework

Page 7: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Services on WCF Runtime

Messaging Gateway

AX Business Logic

File

WCF Message Routing

AOS

IISWeb Services

on WCF Runtime

Adapter

Clients

Biztalk Server DAX Client Enterprise Portal Reporting FrameworkOffice Business App

MSMQ

• AOS is a service host• All Integration through WCF

Services

Net TCP

HTTP

Internet Clients

Integration architecture in Dynamics AX 2012

Page 8: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Concept : Services Document services

Query => Document => Document Service Maps a business entity

Custom services Attribute based contracts

System services Query service Metadata service

Page 9: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Concept: Integration ports• Deployment artifacts that:• Expose one or more

Dynamics AX services• Have a single URL• Subsume the concept of

“Endpoints” of Dynamics AX 2009

• Inbound vs. outbound ports• Depending on origin of

the message

• Basic vs. enhanced ports• Depending on

functionality

Page 10: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Basic Inbound Port(ServiceGroup)

Custom Service(Running in IL)

Document Service(Running in IL)AOS

Request

Net.tcp://host1/port1/servicegroup1

Enhanced Inbound Port

Custom carved

contract

Transforms Custom pipeline

Transforms Custom pipeline

Custom application

Concept: Integration ports

Response

Request (CSV)

Response (CSV)

file://port1/Request

file://port1/ResponseVendor

Page 11: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Background for today’s demos FM Inc – Global rental car company Fabrikam – Car manufacturer Integration needs

Expose car list to external websites Manage on going updates to inventory

Page 12: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Product demos

# Title Key Features1. Exposing X++ Logic

as service• Service Groups• VS Debugging

2. System Services • Query Web Service• Metadata Service

3. Bulk Import through File Adapter

• Bulk Import• Enhanced Integration Ports

4. Non-XML file based integration

• Enhanced Integration Ports, Transforms• Trouble Shooting

5. Change Tracking • Enhanced Integration Ports

Page 13: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Nitin SharmaSenior Program Manager

demo

Exposing X++ logic as a service

Page 14: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Basic Inbound Port(ServiceGroup)

Custom X++ Service

(Running in IL)

AOSCustom application

Demo1: Exposing X++ Logic as a serviceContext: FMInc wants to expose the inventory of cars to a rental website to be used by customers directly.

Page 15: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Nitin SharmaSenior Program Manager

demo

System Services

Page 16: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Demo 1, 2: Standardization through WCF services

Persona Pain Points and Challenges Features Covered Results and Benefits

Isaac • Exposing services easily • Service Groups • Attribute based servicizing of X++ logic

Issac • Debugging services • Visual Studio Debugging • Visual studio debugging of services code

Issac • Ad-hoc querying of data and metadata

• Query Web Service• Metadata Service

• External applications can query data and metadata

in a secure and standards based manner

Page 17: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Nima KamoosiSoftware Development Engineer

demo

Batch Import through File Adapter

Page 18: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Demo 3: Batch Import Flow

Gateway Queue

X++ Service(Running in IL)

Request

Response

Inbound Transform(s)

Outbound Transform(s)

Message Set Inbound Pipeline(s)

Outbound Pipeline(s)

IN

OUT

Context: FMInc wants to implement ongoing integration to update inventory with “new cars” sent by Fabrikam Corp.

Page 19: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Nima KamoosiSoftware Development Engineer

demo

Non-XML file based integration

Page 20: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Demo 4: Non-XML file integration

Enhanced Inbound Port

X++ service1

X++ service2AOS

Transforms Custom pipeline

Transforms Custom pipeline

file://port1/Request

file://port1/Response

Context: FMInc wants to implement ongoing integration to update inventory with the recalled car list periodically published by Fabrikam Corp.

Fabrikam Corp.Custom carved

contract

Page 21: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Demo 3, 4: Enhanced Integration Features

Persona Pain Points and Challenges Features Covered Results and Benefits

Isaac • Non-XML files need to be imported

• .NET transforms • Custom transforms can convert any file format

Chris • Configuration of integrations is complicated

• Enhanced integration ports

• Simplified, single main form

• Progressive disclosure of concepts as needed

Chris • One incorrect line in file fails the entire transaction

• Flexible troubleshooting • Admin is in control of error handling

Page 22: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Nima KamoosiSoftware Development Engineer

demo

Change Tracking Support

Page 23: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

AOS

Demo 5: Change Tracking Support

SQL Server (Change Tracking Enabled)

Application Code

AIF Document Services Framework

Configure Change Tracking

Context: FMInc wants to synchronize car list between the branch and central office periodically

Retrieving Changed Documents

Filtering Result Sets GetChangedKeys

Page 24: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Demo 5: Change Tracking Support

Persona Pain Points and Challenges Features Covered Results and Benefits

Chris • Need to synchronize AX data with an external application

• Change Tracking Support• GetChangedKeys

• Can retrieve only the changed entities from AX

Chris • Need to filter entities retrieved from AX

• Document Filters• GetKeys

• Can provide filters on enhanced ports for retrieved entities

Page 25: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Services and AIF in AX 2012 Support for all data layer improvements in document services

framework Services respect all role based security constructs, companies and

partitions More than 90 document services out-of-the-box Network Load Balancer can be used to load balance services Simplified integration with Biztalk Import / export of AIF configuration data Improved performance benchmarks across the board

Page 26: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

AIF Integration Considerations During Design

Basic or Enhanced Ports Custom or Document Services

During Development Handling Transforms within Microsoft Dynamics AX or outside Pruning service operation contracts Building custom adapters (FTP, SMTP)

For Trouble Shooting and Monitoring Logging Modes WCF Tracing

Page 27: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

What we showed you today… The standardized integration stack

How AIF configuration and management has been simplified through integration ports

How enhanced integration features can be used to build richer and more powerful integrations

Page 28: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Questions

BRK314Integrating Dynamics AX with other line of Business Applications

Page 29: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Page 30: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

APPENDIX

Page 31: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

AOS

Dynamics AX development stack

Business Logic

.NETX++

Services

Data Access

Interop

Integration

External Clients

Unit-of-Work Global Object Cache Database Temp Table

Reports Rich Client, Office Add-Ins, EP

Page 32: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Enhanced integration ports Hostable in both AOS or IIS Support for multiple adapters:

HTTP, net.tcp, MSMQ, file Pre- and post-processing

Transforms (Message Level) Pipelines (AifXMLMessage Level)

• Data contract customizations•Policies, legal values, etc.

• Advanced security configuration

• Troubleshooting options

Page 33: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Consuming external web services “Add Service Reference” from AOT

deprecated Parallel Stack to Visual Studio support Not complete in functionality (Authentication, complex schema

support)

Add the Service Reference in VS and “Add to AOT” to add the VS Project in AOT

Seamless X++/.NET interop to invoke web service from X++

Page 34: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Security Auto inference security permissions for any X+

+ service Use SysEntryPointAttribute to determine

whether to run operation in the context of the calling user or as admin

Document service operations have access level attributes for security for relevant CRUDF operations

System services open to all AX users and run in the caller’s context

Page 35: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration
Page 36: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Integration Architecture in AX 2009

Services on WCF Runtime

Messaging Gateway

X++ Document and Custom Services

AX Business Logic

RPC Call Over Business Connector

BizTalk ServerMSMQ File

Adapter

AOS

Clients

BC .NET

WCF Routing Service

IIS

Web Services on WCF Runtime

AdapterAdapter Adapter

Page 37: Concepts and capabilities Key Takeaway #1 Standardized Integration Stack Key Takeaway #2 Enhanced integration features Key Takeaway #3 Integration

Outbound Port

AOS

Transforms Custom pipeline

File://OutboundPort1/Dir1

Document schema

constraints

AxDocument/XML documents

Concept: Outbound Integration ports