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
BizTalk Server 2010 Hands On DayBTS Adapter Pack 2.0(SQL & SharePoint)Nikolai Blackie, Adaptiv Integration (firstname.lastname@example.org)(adapted from Mick Badran, Breeze (MVP, VTS) )<br />
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 />
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 />
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 />
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 />
Lab 2C (Dev)<br />Integrating with Microsoft SQL Server<br />
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 />