park the future. May 4 – 8, 2015 Chicago, IL
Dec 19, 2015
Spark the future.
May 4 – 8, 2015Chicago, IL
Cloud Based Integration With AXPaul Wu
BRK2498
Apps of the past
Users of today
Challenges in the cloud?• Mobile access• Scalability• Identity management• REST• New skillsets
Agenda
• Existing patterns in Microsoft Dynamics AX• Explore possibilities• What’s next
Application
Firewall
Cloud/Client Applications
On-PremisesApplication
IIS
WCF Service
Dynamics AX AOS
My X++ Service
Service Bus Relay
Application
Firewall
Cloud/Client Applications
Windows Azure On-PremisesApplication
IIS
WCF Service
Dynamics AX AOS
My X++ Service
Routingmessages
Service Bus Relay
Application
Firewall
Cloud/Client Applications
Windows Azure On-PremisesApplication
ADFS
Access Control Service
IIS
WCF Service
Dynamics AX AOS
My X++ Service
Routingmessages
Service Bus Relay
Application
Firewall
Cloud/Client Applications
Windows Azure On-PremisesApplication
IIS
WCF Service
Dynamics AX AOS
My X++ Service
ADFS
Access Control Service
(1) User Credentials
(2) Token A (SAML)
(6) Token A + Service Request
(9) Service Response
(7) C
laim
s Id
entit
y + S
ervi
ce R
eque
st
Routingmessages
Development Components1. Design and create the AIF service in Microsoft
Dynamics AX 20122. Establish a listener to the Windows Azure
Service Bus3. Develop the client to communicate data to the
middle-tier WCF service4. Implement active federation and claims-based
authorization for the mobile client5. Authenticate the user and send the data to the
service
Two development patterns Publishing a service using the AIF Windows
Azure Service Bus Adapter A custom-built middle-tier WCF service
Service Bus AdapterProvide a simple process for developers to build compelling companion applications highly integrated with Microsoft Dynamics AX
RequirementsMicrosoft Dynamics AXMicrosoft Azure Service BusMicrosoft ADFS
Configuration Summary1.Configure Windows Azure2.Publish AX services using AIF Service Bus
Adapter3.Develop Client App to work with Service
Bus
Configure Windows AzureCreate a Service Bus Namespace
Configure ACS
Publishing AX Services using AIFRegister custom authentication component in AX
Configure Service Bus connection information in AX
Create new port for service
Develop Client AppAuthenticate user with Microsoft ADFS
Authenticate with Azure ACS using access token
Send final request to Service Bus
Relay
ADFS
Firewall
AD Domain Controller
Dynamics AX
Middle-Tier WCF Service AIF
Demo
RESTful Service
Relay
ADFS
Firewall
AD Domain Controller
Dynamics AX
Middle-Tier WCF REST Service AIF
Fiddler
Demo
Service Bus Messaging Queue + DIXF
Messaging Queue/Topic
Firewall
Dynamics AX
Queue Service
DIXF
Mobile Clients
Demo
Traditional app integration• Enterprise apps installed in a local data
center
• Specialized BizTalk server integrated common enterprise apps
• Few touch points with tight coupling
Modern app integration Enterprise apps on-premises and in cloud
Many touch points with loose coupling
Integration is no longer a vertical solution, we believe it is core to the app platform
Tailspin Air
Contoso
Enterprise application integration
A workflow enables wiring of connectors and mediationConnectors: Represents connectivity to external systems. From where the messages originate/sent to.
Mediation: A set of services to perform validation, enrichment, and transformation of messages
Workflow
Mediation Template
V E T E
Connector Triggers
FTP/S
HTTP
SFTP
Connector Actions
Service Bus
Web Service
FTP/S
HTTP
Blob
…
Future EAI architecture
Microsoft Dynamics AX Microsoft Dynamics CRM
Mediation API APP
Logic APP
CRM Connector API APP
AX Connector API APP
Azure App Service EAI
Firewall
Dynamics AX
Middle-Tier WCF Service
DIXF
CustomerWeb app
CustomerWeb ConnectorAPI app
ServiceBus Connector API app
AX Connector API app
Azure Blob StorageService Bus QueueSQL Azure
Logic app - SampleAXIntegration
Relay
Demo
Resources• Configure companion apps• Workflow Approval via Email • Develop Mobile Apps White Paper• Microsoft Dynamics AX Services and Windows Azure Service Bus • Developing
Windows Store Apps for Dynamics AX 2012 - Approvals, Expense and Time
• Encrypting Configuration Information Using Protected Configuration• Connect AX Mobile Apps to AX R3 in Azure
Visit Myignite at http://myignite.microsoft.com or download and use the Ignite Mobile App with the QR code above.
Please evaluate this sessionYour feedback is important to us!
© 2015 Microsoft Corporation. All rights reserved.