03 Biz Talk 2010 Hands On Day Adapter Pack

1,170 views

Published on

Presentation to Auckland BizTalk Saturdays hands on training day

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,170
On SlideShare
0
From Embeds
0
Number of Embeds
11
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Why WCF LOB? Provides a simplified/unified connection method from any custom .NET apps provided in a SOA form (loosely coupled, discoverable etc)Organisations can create simple point to point solutions then migrate to BizTalk as solutions evolveProvides a low latency option for integration, can bypass message box going straight to LOB systemsInteresting to note that Oracle now owns PeopleSoft, Siebel and JD Edwards, and all products are to be superseded by Oracle Fusion Applications portfolio
  • Points to Note:WCF LOB Adapter SDK – lightweight and able to be hosted in many different processes.WCF Adapters surface as new WCF Bindings (entries created in the Machine.Config)These Adapters can be consumed by any WCF Aware application – Biztalk, MOSS, SSIS etc etcE.g SharePoint BDC can now access several different back end systems via the Adapter Pack.Can always host a WCF Adapter inside a traditional WebService for those fringe cases.Build once – use everywhere type mentality. C.f. Traditional BizTalk Adapters are only used within BizTalk.Being based on WCF, WCF Adapters are able to be easily extended by being used in conjunction with other bindings, e.g. Transactions.
  • There are ADO.NET providers for SAP and Siebel
  • Mike has cracked open the Sharepoint Adapter and reflected the new BizTalk Sharepoint web service code and foundNOT got any newer SharePoint Client API code within in.The ability to contact a remote server through the WebService APIs.
  • 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 (nikolai@adaptiv.co.nz)(adapted 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="http://schemas.microsoft.com/Sql/2008/05/GenericTableOp/"> <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 http://blogs.breezetraining.com.au/mickb/2010/10/12/BizTalk2010MusingOfTheNewSharePoint2010WSAdapter.aspx<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 http://blogs.msdn.com/b/adapters/ <br />Consuming the Adapter from outside BizTalk Server http://www.packtpub.com/article/consuming-adapter-outside-biztalk-server <br />An excellent article on loading a flatfile into the db using the SQL adapter by Thiago http://connectedthoughts.wordpress.com/2009/06/29/using-the-biztalk-wcf-sql-adapter-to-load-a-flat-file-into-a-sql-server-2008-table/ <br />WCF LOB Adapter Usage Patterns http://blogs.msdn.com/b/biztalk_adapter_development/archive/2007/07/09/wcf-lob-adapter-usage-patterns.aspx<br />Calling Adapters from SSIS http://blogs.msdn.com/b/adapters/archive/2009/10/07/using-the-wcf-sql-adapter-to-submit-messages-to-ssb-queues-from-biztalk.aspx<br />Positioning BizTalk Adapter Pack over Previous BizTalk Server Adapters and over Previous ADO.NET Providers http://msdn.microsoft.com/en-us/library/dd300593(BTS.10).aspx <br />

    ×