3. BizTalk Adapter Pack 2010(SQL) & SharePoint Lightweight adapters based on WCF Implemented as WCF Bindings Able to be deployed on non-BTS machines Adapter Pack comes in x64 and x86 flavours SAP Siebel Oracle eBusinessSuite Oracle Database SQL Server 3
4. WCF Channel Model Examining WCF Based AdaptersHosting Architecture SQL Server … WCF Service Model BizTalk Server SharePoint Server Custom Development ASP.NET 2.0 ASP.NET, ADO.NET,… … ADO.NET Provider BizTalk WCF Adapter SAP Binding Custom LOB Binding Oracle DB Binding Siebel Binding WCF Transport (HTTP, TCP, …) Adapter SDK Runtime Adapter SDK Runtime Adapter SDK Runtime Adapter SDK Runtime Siebel Adapter Oracle DB Adapter SAP Adapter Custom WCF Adapter by Microsoft by Microsoft Custom/3rd Party by Microsoft WCF RFC SDK Siebel COM ODP.NET LOB Client Lib Web Service SAP Siebel Oracle DB Target LOB App
10. SQL Adapter - enhancements 10 64 bit support Support for invoking artefacts with same name in different databases SQL WCF Performance Monitor Counters Support for newer SQL Data Types SQL Server 2005: XML, Varchar(Max), and Varbinary(Max). SQL Server 2008: Date, Time, Datetimeoffset, Datetime2, Hierarchyid, Geography, Geometry, and FILESTREAM. Ability to call Stored Procs and CLR based Procs Support for executing stored procedures with or without the FOR XML clause Support for streaming of large objects – filestream, varchar(max) etc.. Support for query notifications – SQL Server push notifications to clients Support for Composite Operations LIMITATION: <127 chars for SPROC param names.
11. SQL Adapter - Samples 11 Table Operations Insert, Update, Delete, and Select Select <Select xmlns="[VERSION]/TableOp/[SCHEMA]/[TABLE_NAME]"> <Columns>*</COLUMNS> <Query></Query> </Select> Select with an Update <Select xmlns="[VERSION]/TableOp/[SCHEMA]/[TABLE_NAME]"> <Columns>[COLUMN_list]</Columns> <Query>where [WHERE_clause];UPDATE [TABLE_NAME] SET [FIELD1_NAME] = [value1] where [WHERE_clause]</Query> </Select> Procedures and Functions Polling, TypedPolling and Notification Composite Operations ExecuteNonQuery, ExecuteReader, and ExecuteScalar ExecuteNonQuery <ExecuteNonQueryxmlns="http://schemas.microsoft.com/Sql/2008/05/GenericTableOp/"> <Query>[PL/SQL STATEMENT1];[PL/SQL STATEMENT2];…</Query> </ExecuteNonQuery>
13. SharePoint 2010 Adapter 13 Based on the SharePoint Server API - Microsoft.SharePoint.dll Relatively unchanged from BTS2009. Still need remote deployments of the BTSSharePointWS virtual directory. Check out Mikes post on the new SharePoint Adapter http://blogs.breezetraining.com.au/mickb/2010/10/12/BizTalk2010MusingOfTheNewSharePoint2010WSAdapter.aspx
15. Lab 2C (Dev) Integrating with Microsoft SQL Server
16. References 16 WCF LOB Adapter SDK and BizTalk Adapter Pack Blog http://blogs.msdn.com/b/adapters/ Consuming the Adapter from outside BizTalk Server http://www.packtpub.com/article/consuming-adapter-outside-biztalk-server 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/ WCF LOB Adapter Usage Patterns http://blogs.msdn.com/b/biztalk_adapter_development/archive/2007/07/09/wcf-lob-adapter-usage-patterns.aspx 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 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
Notas del editor
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.