Building integration solutions with AppFabric and BizTalk Jon Fancey / Kevin Smith Jon - http://bit.ly/ka5YkX Kevin - http://bit.ly/jb5uWl [email protected] [email protected].
Download ReportTranscript Building integration solutions with AppFabric and BizTalk Jon Fancey / Kevin Smith Jon - http://bit.ly/ka5YkX Kevin - http://bit.ly/jb5uWl [email protected] [email protected].
Building integration solutions with AppFabric and BizTalk Jon Fancey / Kevin Smith Jon - http://bit.ly/ka5YkX Kevin - http://bit.ly/jb5uWl [email protected] [email protected] Agenda • Real world Integration • New BizTalk capabilities • Mapping • WCF adapters • AppFabric Connect • Testing integration solutions • Moving and migrating effort • Mix-and-match hybrids • On/Off Premise BizTalk 2010 features Extended Reach • New Mapper • Moves outside of BizTalk for first time • WCF LOB adapters • Consumable in AppFabric/WF • Declarative services make this compelling • AppFabric Connect • Publish on-premise endpoint in cloud • Futures • Workflow loads in Azure Mapping Using BizTalk Mapper in Workflow New Mapper Activity Generates .btm and .cs files – still based on Microsoft.XLANGs.BaseTypes.TransformBase WF based on WCF • So no longer bound to XML schema e.g. DataContract, string or any .NET type WF Mapper Demo… Mapping Using BizTalk maps in Workflow What about BizTalk maps? • Not as straightforward as just referencing BTS assembly • Need to: • Set the Map Compiler • Set the Types • Format – Name : TypeIn : TypeOut BizTalk Map Demo… How to Test? • Testing distributed systems is hard… – Ensure system meets functional requirements – Not just ‘happy’ path • Must test positive and negative functional scenarios – Many moving parts • Testing complex async interactions between systems • How do you regression test patches – before deploying to production? • How do you test your integration system – before the dependencies are available? Introducing BizUnit V4 Motivation: Lower the cost for automated testing of distributed systems • Developed to make it significantly easier to test large complex systems – Originally targeted at BizTalk – Now completely de-coupled from BizTalk • Takes a black box approach to testing • Easier to develop automated tests that are: – – – – Repeatable Predicable Composable Executable in a timely manner What is BizUnit? • A framework making it easy to extend and enhance – open source on bizunit.codeplex.com • A number of test steps and sub-steps, e.g. – – – – – Send an HTTP request, validate the response data Query a database Read a message from an MQ queue Send a SOAP request Execute an SSIS package • Takes declarative approach – making it easy to vary and generate test cases • Driven by your favourite unit test framework – NUnit, MSUnit etc. Test Case Test cases: Test Meta data Setup Stage Test Step • Consist of – meta-data, set-up, execution and clean-up stages – Clean-up stage always executed Sub Step Execution Stage Test Step • Test cases – Composable - test within test • Use dependency injection • Can be nested • Stages – execute =>0 test steps Test Step Sub Step Test Step Sub SubStep Step • Test steps – execute >= 0 more sub-steps – May be coded or XAML Clean up Stage Test Step Sub Step Test Step How does it work? Test Step: File Read Multiple Step Test Step: SOAP Sub Step Xml Validation Test Step: FILE. Create Step BizUnit Demo… BizTalk Adapters Provide Enterprise Integration via WCF • BizTalk adapters available to WF/AppFabric •Add Adapter Service Reference •Generates activity • BizTalk Adapter Pack •SQL Server adapter •Oracle DB •SAP •Oracle EBS •Siebel •Custom - LOB SDK • Host Integration Server •WCF MQ binding • + many others AppFabric Connect Hybrid Integration On and off-premise hosting • Extension to WCF Publishing Wizard • Exposes BizTalk endpoints (orchs/schemas) • Via Service Bus • All bindings except Webxxxx exposed • ATOM feed available in cloud • Secured via • Azure ACS • WCF message and transport • Can leverage AppFabric features • Autostart important AppFabric Connect How it works Client Invoke svc Azure Service Bus Autostart Relay BizTalk IIS AppFabric .svc BizTalk EPM MB AppFabric Connect Demo… Agenda Quick Recap BizTalk, AppFabric and Azure provide: • Reuse existing BizTalk assets • Ability to reuse BTS maps in WF • LOB Adapter integration in WF too • Ability to host on-prem integration points in cloud • BizTalk or Workflow (or pure WCF) • Regression testing using BizUnit V4 What about cloud workloads? True Hybrid Integration On-cloud / On-Premise Symmetry Run anything anywhere Workflow Demo… Q&A Thank you! © 2008 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. 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. References Exposing BizTalk Applications on the Cloud using AppFabric Connect for Services BizTalk 2010 Adapter Pack