Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

New SOA Capabilities in BizTalk Server 2009: WCF SQL Server Adapter - What is the WCF SQL Adapter?

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
3/24/2011 9:14:42 PM
The BizTalk Adapter Pack 2.0 now contains five system and data adapters including SAP, Siebel, Oracle databases, Oracle applications, and SQL Server. What are these adapters and how are they different than the adapters available for previous version of BizTalk?

Up until recently, BizTalk adapters were built using a commonly defined BizTalk Adapter Framework. This framework prescribed interfaces and APIs for adapter developers in order to elicit a common look and feel for the users of the adapters. Moving forward, adapter developers are encouraged by Microsoft to use the new WCF LOB Adapter SDK. As you can guess from the name, this new adapter framework, which can be considered an evolution of the BizTalk Adapter Framework, is based on WCF technologies.

All of the adapters in the BizTalk Adapter Pack 2.0 are built upon the WCF LOB Adapter SDK. What this means is that all of the adapters are built as reusable, metadata-rich components that are surfaced to users as WCF bindings. So much like you have a wsHttp or netTcp binding, now you have a sqlBinding or sapBinding. As you would expect from a WCF binding, there is a rich set of configuration attributes for these adapters and they are no longer tightly coupled to BizTalk itself. Microsoft has made connection a commodity, and no longer do organizations have to spend tens of thousands of dollars to connect to line of business systems like SAP through expensive, BizTalk-only adapters.

This latest version of the BizTalk Adapter Pack now includes a SQL Server adapter, which replaces the legacy BizTalk-only SQL Server adapter. What do we get from this SQL Server adapter that makes it so much better than the old one?

Feature Classic SQL Adapter WCF SQL Adapter
Execute create-read-update-delete statements on tables and views; execute stored procedures and generic T-SQL statements Partial (send operations only support stored procedures and updategrams) Yes
Database polling via FOR XML Yes Yes
Database polling via traditional tabular results No Yes
Proactive database push via SQL Query Notification No Yes
Expansive adapter configuration which impacts connection management and transaction behavior No Yes
Support for composite transactions which allow aggregation of operations across tables or procedures into a single atomic transaction No Yes
Rich metadata browsing and retrieval for finding and selecting database operations No Yes
Support for the latest data types (e.g. XML) and SQL Server 2008 platform No Yes
Reusable outside of BizTalk applications by WCF or basic HTTP clients No Yes
Adapter extension and configuration through out of the box WCF components or custom WCF behaviors No Yes
Dynamic WSDL generation which always reflects current state of the system instead of fixed contract which always requires explicit updates No Yes

Needless to say, the WCF SQL Server Adapter offers significant benefit over the previous SQL Server adapter and introduces a range of new capabilities that are well overdue in the realm of database interaction. In this section, we will look at a few use cases and patterns for this adapter, which best demonstrate the capabilities it provides.

Solution set up

Before we get started building a series of different scenarios, we need to prepare our environment with the database tables and schemas that will be reused over and over again. All of our demonstrations in this article deal with batches of biologic materials that we use in our drug making process. These batches of material go through different stages before being ready for shipment.

To get started, I created a SQL Server 2008 database named BizTalkSOA, which houses our relevant tables. In all, there are four tables that we will use throughout this article:

  • BatchMaster: This table holds the complete batch description as well as its current state. Note that this table's last column uses an XML data type.

  • BatchDistribution: This table stores information used by distributors who pick up completed batches.

  • BatchDistributionPickup: This table stores the details of where a batch is physically located.

  • DistributionVehicles: This table holds information about the fleet of vehicles used to transport batches.

Next, we need a new BizTalk project to hold our enterprise schema that represents a batch of materials. While messages about material batches may arrive to (or depart from) BizTalk Server in diverse formats, this canonical schema is what BizTalk should use internally to represent this enterprise object.

Now we're ready to start building solutions on the SQL Server WCF adapter.

Other -----------------
- Using Windows PowerShell in an Exchange Server 2010 Environment : Using EMS to Do Reporting
- Exchange Server 2010 : Using EMS to Do Administrative Mailbox Tasks (part 2)
- Exchange Server 2010 : Using EMS to Do Administrative Mailbox Tasks (part 1)
- SharePoint 2010 PerformancePoint Services : Excel Services Data Source
- SharePoint 2010 PerformancePoint Services : PowerPivot Data Sources
- Windows Server 2003 : Monitoring Network Protocol Security (part 7)
- Windows Server 2003 : Monitoring Network Protocol Security (part 6) - Use Netsh to Manage IPSec
- Windows Server 2003 : Monitoring Network Protocol Security (part 5) - Create a Negotiation Policy
- Windows Server 2003 : Monitoring Network Protocol Security (part 4) - Use the IP Security Management Snap-In to Create a Blocking Policy
- Windows Server 2003 : Monitoring Network Protocol Security (part 3) - Understanding Kerberos
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server