created by the community for the community biztalk 2009 series

24
Created by the Community for the Community BizTalk 2009 Series LIGHT AND EASY

Post on 15-Jan-2016

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

BizTalk 2009 Series

LIGHT AND EASY

Page 2: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

BizTalk Adapter Pack 2.0 – All you need to know about the SQL AdapterThiago Almeidahttp://connectedthoughts.wordpress.comSenior Integrations Consultant/Team LeaderDatacom Systems Limited, New ZealandAuckland Connected Systems User Group Leader

BizTalk Light and Easy Webcast Series

Page 3: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

Session Agenda

Introduction

Installation

WCF SQL Adapter with BizTalk Server

WCF SQL Adapter with Service and Channel Models

Summary

Page 4: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

Introduction

BizTalk Adapter Pack 2.0Five adapters:

SQL Server Oracle Database v3.0Oracle E-Business SuitemySAP Business Suite v3.0Siebel eBusiness Applications

Built on top of the WCF LOB Adapters SDKExpose line of business applications and data as Windows Communication Foundation (WCF) services

Page 5: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

Introduction

BizTalk Adapter Pack 2.0 LicensingAll BizTalk 2009 editions except branch editionAll BizTalk 2006 R2 edition licenses with software assurance not expired before 1st May 2009, except branch editionSeparate SQL Server adapter SKU for all BizTalk 2009 editionsLicense per processor otherwise

Page 6: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

Introduction

BizTalk Adapter for SQL ServerExposes SQL Server databases as a WCF serviceTranslates SOAP messages into ADO.NET callsCan be used by BizTalk, the WCF service model or the WCF channel model

Page 7: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

Introduction – New Features

SQL 2008 support64-bit supportWCF basedSupported outside BizTalk ServerMetadata browsingGeneric SQL statementsPolling doesn’t need FOR XML (but still supported)

Page 8: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

Introduction - New Features

Polling via SQL query and Query Notifications New data types (date, time, hierarchyid)Scalar and table valued functionsSupport for user-defined types (UDTs)Support for filestreamComposite TransactionsIsolation level control...

Page 9: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

Introduction

Architecture:Uses LOB SDK to

Interface with WCFUses ADO.NET to

Interface with SQL

Page 10: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

InstallationOperating System:

Windows Server 2008Windows Server 2003 R2Windows Server 2003 SP2Windows Vista SP1Windows XP SP3

Microsoft .NET Framework 3.5 Service Pack 1Microsoft Visual Studio 2008 or Microsoft Visual Studio 2005 SP1 (development only)Microsoft BizTalk Server 2009 or BizTalk Server 2006 R2 (if using adapter with BT)WCF LOB Adapter SDK SP2

Page 11: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

InstallationMust install 32-bit version of SQL adapter to develop in Visual Studio or to use BizTalk Admin ConsoleFor BizTalk 2006 R2 install hotfix in kb article 942612After installation you get in machine.config:

Page 12: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

Session Agenda

Introduction

Installation

WCF SQL Adapter with BizTalk Server

WCF SQL Adapter with Service and Channel Models

Summary

Page 13: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

Demo Project - Diagram

Page 14: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

Demo Project - Tables

Page 15: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

Development from BizTalk

Use the “Consume Adapter Service” wizardCreates schemas for the message structures expected by the adapterCreates binding file for selected operationsAppears as sqlBinding in the WCF-Custom adapter or as WCF-SQL adapter

Page 16: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

Development from BizTalk

DEMO…

Page 17: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

Development – WCF Service Model

Use the Add Adapter Service ReferenceCreates proxy and operation classes for all the selected operationsCreates app.config entries for binding and client endpointsClasses get sent to WCF channel model through binding

Page 18: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

Development – WCF Channel Model

Control over how messages are createdMust conform to messages expected by the adapterSubmit message or object directly to channel

Page 19: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

Development from Service Model

DEMO…

Page 20: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

Development from Channel Model

DEMO…

Page 21: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

Tips

Decide beforehand all the items you want to generate the proxy or schemas, to avoid ending up with multiple proxy files or schemasTake advantage of SQL 2008’s features like query notifications, merge statementWatch out for timeouts with large messages and varbinary(max), varchar(max), filestreamCreate canonical schemas/façade services to avoid exposing SQL Server specific names

Page 22: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

Session Agenda

Introduction

Installation

WCF SQL Adapter with BizTalk Server

WCF SQL Adapter with Service and Channel Models

Summary

Page 23: Created by the Community for the Community BizTalk 2009 Series

Created by the Communityfor the Community

Summary

Completely new SQL AdapterPart of the BizTalk Adapter Pack 2.0Built on top of the WCF LOB Adapter SDKExposes SQL Server databases as WCF serviceConsume from BizTalk, WCF Service and WCF Channel model

Page 24: Created by the Community for the Community BizTalk 2009 Series

© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after

the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

BizTalk Light and Easy Webcast Series

Created by the Community for the CommunityMeet the team….