Your SlideShare is downloading. ×
03 Biz Talk 2010 Hands On Day  Adapter Pack
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

03 Biz Talk 2010 Hands On Day Adapter Pack

783
views

Published on

Presentation to Auckland BizTalk Saturdays hands on training day

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
783
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
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.
  • Transcript

    • 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) )
    • 2. Agenda
    • 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
    • 5. Adapter Scenarios
      5
    • 6. WCF Adapters in BizTalk Server 2010
      Adapter Metadata Utility Tool
      Browse/Search/Choose
      Generate Metadata
      Design-Time
      Adapter
      Consumer
      BizTalk Server Process
      XML Schema(s)
      WCF
      Custom
      Adapter
      Business
      Process
      BizTalk Orchestration
      LOB
      System
      BizTalk WCF Send Adapter
      Send
      Pipeline
      Run-Time
      Adapter SDK Runtime
      WCF
      Message
      XML
      Message
      Target System
      Message
      WCF
      BizTalk Message Box
      * Diagram shows outbound scenario
    • 7. Adapters in SQL Server Integration and Reporting Services
      SSIS Import/Export Wizard
      Specify SQL Statement
      Generate Package
      Design-Time
      Adapter
      Consumer
      SSIS Runtime Process
      SSIS
      Package
      SSRS
      Package
      WCF
      LOB
      Adapter
      SSIS / SSRS Execution Engine
      LOB
      System
      ADO.NET Provider
      Run-Time
      Adapter SDK Runtime
      WCF
      Message
      Target System
      Message
      WCF
    • 8. WCF Adapters in IIS as WCF Proxies
      WCF Adapter Service Tool
      Adapter Metadata Utility Tool
      Browse/Search/Choose
      GenerateProxies
      Design-Time
      Adapter
      Consumer
      BizTalk Server Process
      WCF
      Custom
      Adapter
      WCF Aware Client
      LOB
      System
      .NET Client Proxy
      Web Service Proxy
      Run-Time
      Adapter SDK Runtime
      WCF
      Message
      .NET
      Message
      Target System
      Message
      IIS
      WCF
      * Diagram shows outbound scenario
    • 9. Examining WCF Based Adapters Consuming Adapters
      Contract Generation
      Single Contract
      Contract
      WCF Service
      Contract
      SvcUtil.exe
      Contract
      WCF LOB Adapter
      Adapter Metadata UtilityTool
      Contract
      .
      .
      .
      LOB
      WCF LOB Adapter
      WCFService
    • 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>
    • 12. Demo: SQL Adapter
      12
    • 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
    • 14. Demo: SharePoint Adapter
      14
    • 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