Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

03 Biz Talk 2010 Hands On Day Adapter Pack


Published on

Presentation to Auckland BizTalk Saturdays hands on training day

Published in: Technology
  • Be the first to comment

03 Biz Talk 2010 Hands On Day Adapter Pack

  1. 1. BizTalk Server 2010 Hands On DayBTS Adapter Pack 2.0(SQL & SharePoint)Nikolai Blackie, Adaptiv Integration ( from Mick Badran, Breeze (MVP, VTS) )<br />
  2. 2. Agenda<br />
  3. 3. BizTalk Adapter Pack 2010(SQL) & SharePoint<br />Lightweight adapters based on WCF<br />Implemented as WCF Bindings<br />Able to be deployed on non-BTS machines<br />Adapter Pack comes in x64 and x86 flavours<br />SAP<br />Siebel<br />Oracle eBusinessSuite<br />Oracle Database<br />SQL Server<br />3<br />
  4. 4. WCF Channel Model<br />Examining WCF Based AdaptersHosting Architecture<br />SQL<br />Server<br />…<br />WCF Service Model<br />BizTalk<br />Server<br />SharePoint <br />Server<br />Custom<br />Development<br />ASP.NET 2.0<br />ASP.NET, ADO.NET,…<br />…<br />ADO.NET<br />Provider<br />BizTalk WCF<br />Adapter<br />SAP Binding<br />Custom LOB Binding<br />Oracle DB Binding<br />Siebel Binding<br />WCF Transport<br />(HTTP, TCP, …)<br />Adapter SDK Runtime<br />Adapter SDK Runtime<br />Adapter SDK Runtime<br />Adapter SDK Runtime<br />Siebel Adapter<br />Oracle DB<br />Adapter<br />SAP Adapter<br />Custom WCF Adapter<br />by Microsoft<br />by Microsoft<br />Custom/3rd Party<br />by Microsoft<br />WCF<br />RFC SDK<br />Siebel COM<br />ODP.NET<br />LOB Client Lib<br />Web Service<br />SAP<br />Siebel<br />Oracle DB<br />Target LOB App<br />
  5. 5. Adapter Scenarios<br />5<br />
  6. 6. WCF Adapters in BizTalk Server 2010<br />Adapter Metadata Utility Tool<br />Browse/Search/Choose<br />Generate Metadata<br />Design-Time<br />Adapter<br />Consumer<br />BizTalk Server Process<br />XML Schema(s)<br />WCF<br />Custom<br />Adapter<br />Business<br />Process<br />BizTalk Orchestration<br />LOB<br />System<br />BizTalk WCF Send Adapter<br />Send<br />Pipeline<br />Run-Time<br />Adapter SDK Runtime<br />WCF<br />Message<br />XML<br />Message<br />Target System<br />Message<br />WCF<br />BizTalk Message Box<br />* Diagram shows outbound scenario<br />
  7. 7. Adapters in SQL Server Integration and Reporting Services<br />SSIS Import/Export Wizard<br />Specify SQL Statement<br />Generate Package<br />Design-Time<br />Adapter<br />Consumer<br />SSIS Runtime Process<br />SSIS <br />Package<br />SSRS <br />Package<br />WCF<br />LOB<br />Adapter<br />SSIS / SSRS Execution Engine<br />LOB<br />System<br />ADO.NET Provider<br />Run-Time<br />Adapter SDK Runtime<br />WCF<br />Message<br />Target System<br />Message<br />WCF<br />
  8. 8. WCF Adapters in IIS as WCF Proxies<br />WCF Adapter Service Tool<br />Adapter Metadata Utility Tool<br />Browse/Search/Choose<br />GenerateProxies<br />Design-Time<br />Adapter<br />Consumer<br />BizTalk Server Process<br />WCF<br />Custom<br />Adapter<br />WCF Aware Client<br />LOB<br />System<br />.NET Client Proxy<br />Web Service Proxy<br />Run-Time<br />Adapter SDK Runtime<br />WCF<br />Message<br />.NET<br />Message<br />Target System<br />Message<br />IIS<br />WCF<br />* Diagram shows outbound scenario<br />
  9. 9. Examining WCF Based Adapters Consuming Adapters<br />Contract Generation<br />Single Contract<br />Contract<br />WCF Service<br />Contract<br />SvcUtil.exe<br />Contract<br />WCF LOB Adapter<br />Adapter Metadata UtilityTool<br />Contract<br />.<br />.<br />.<br />LOB<br />WCF LOB Adapter<br />WCFService<br />
  10. 10. SQL Adapter - enhancements<br />10<br />64 bit support<br />Support for invoking artefacts with same name in different databases<br />SQL WCF Performance Monitor Counters<br />Support for newer SQL Data Types<br />SQL Server 2005: XML, Varchar(Max), and Varbinary(Max).<br />SQL Server 2008: Date, Time, Datetimeoffset, Datetime2, Hierarchyid, Geography, Geometry, and FILESTREAM.<br />Ability to call Stored Procs and CLR based Procs<br />Support for executing stored procedures with or without the FOR XML clause<br />Support for streaming of large objects – filestream, varchar(max) etc..<br />Support for query notifications – SQL Server push notifications to clients<br />Support for Composite Operations<br />LIMITATION: <127 chars for SPROC param names.<br />
  11. 11. SQL Adapter - Samples<br />11<br />Table Operations<br />Insert, Update, Delete, and Select <br />Select<br /><Select xmlns="[VERSION]/TableOp/[SCHEMA]/[TABLE_NAME]"><br /> <Columns>*</COLUMNS><br /><Query></Query><br /></Select><br />Select with an Update<br /><Select xmlns="[VERSION]/TableOp/[SCHEMA]/[TABLE_NAME]"><br /> <Columns>[COLUMN_list]</Columns><br /> <Query>where [WHERE_clause];UPDATE [TABLE_NAME] SET [FIELD1_NAME] = [value1] where [WHERE_clause]</Query><br /></Select><br />Procedures and Functions<br />Polling, TypedPolling and Notification<br />Composite Operations<br />ExecuteNonQuery, ExecuteReader, and ExecuteScalar<br />ExecuteNonQuery<br /><ExecuteNonQueryxmlns=""> <br /> <Query>[PL/SQL STATEMENT1];[PL/SQL STATEMENT2];…</Query> <br /></ExecuteNonQuery><br />
  12. 12. Demo: SQL Adapter<br />12<br />
  13. 13. SharePoint 2010 Adapter<br />13<br />Based on the SharePoint Server API - Microsoft.SharePoint.dll<br />Relatively unchanged from BTS2009.<br />Still need remote deployments of the BTSSharePointWS virtual directory.<br />Check out Mikes post on the new SharePoint Adapter<br />
  14. 14. Demo: SharePoint Adapter<br />14<br />
  15. 15. Lab 2C (Dev)<br />Integrating with Microsoft SQL Server<br />
  16. 16. References<br />16<br />WCF LOB Adapter SDK and BizTalk Adapter Pack Blog <br />Consuming the Adapter from outside BizTalk Server <br />An excellent article on loading a flatfile into the db using the SQL adapter by Thiago <br />WCF LOB Adapter Usage Patterns<br />Calling Adapters from SSIS<br />Positioning BizTalk Adapter Pack over Previous BizTalk Server Adapters and over Previous ADO.NET Providers <br />