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

BizTalk 2010 : WCF LOB SQL Adapter - Consuming ASDK SQL Adapter in Visual Studio (part 2)

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
11/29/2012 11:02:45 AM

Inbound operations

To access adapter properties for the inbound scenarios, we have to navigate to the appropriate receive location and double-click it to bring up the Receive Location Properties window. Then click OK to open the WCF-Custom Transport Properties multi tab dialog.

The General tab offers us the Address (URI) text control to set or modify connection string:

The Bindings tab, as its name suggests, is where we can get access to the binding properties:

The tab named Other is used to specify credentials to access the target database:

We can employ the following options to specify credentials:

  • None the adapter will use Windows authentication and the identity of the account Receive Handler host instance is running under

  • User account this option allows specifying user name and password to connect to the target database with SQL Server authentication mode

  • Get credentials from affiliate application allow specifying a Single Sign-On affiliate application to get the credentials from

In the majority of cases you won't need to deal with the configuration options provided by the Behavior, Messages, and Import/Export tabs. If it is still necessary, please refer to the WCF-Custom adapter documentation.

Outbound operations

The configuration procedure for the outbound scenarios is essentially the same as for the inbound. You have to locate the appropriate send port, double-click it to open the Send Port Properties window, and then click the Configure button to open the WCF-Custom Transport Properties window. The General tab provides you access to the URI connection string and also to the SOAP actions.

The Credentials tab as you can guess allows you to provide credentials to access the database:

Available options are:

  • Do Not Use Single Sign On the adapter will connect to the database using Windows authentication and the Send Handler account identity if the User name and Password fields are blank. Otherwise the adapter will use SQL Server authentication with the credentials specified in the User name and Password controls.

  • Use Single Sign On allows the selection of a Single Sign On affiliate application to provide the credentials.

As with the receive locations, the properties presented on the General, Bindings, and Credentials tabs cover the majority of configuration scenarios. For complex situations, please refer to the WCF-Custom adapter documentation.

WCF-SQL vs. WCF-Custom adapter

Besides WCF-Custom, the sqlBinding representing the ASDK SQL adapter can also be accessed through the dedicated WCF-SQL BizTalk adapter installed with the BizTalk Server 2010 Adapter Pack. The difference between these adapters is the WCF-SQL adapter offers a bit more intuitive UI tailored specifically for the sqlBinding. For example, by clicking Configure on the General tab of the dedicated WCF-SQL adapter we can populate a table to build a connection string, while with generic WCF-Custom we have to type in the entire string directly as you just have seen in the previous section.

To create the WCF-SQL adapter we need to perform the following steps in the BizTalk Admin Console:

  1. Right mouse click on Adapters and then select New Adapter.

  2. Click the Adapter drop-down list and select WCF-SQL. In the Name text box, type in WCF-SQL and click OK button:

It is important to understand that no matter whether you use the WCF-Custom Adapter or WCF-SQL adapter you are not losing functionality. Using the WCF-SQL adapter simplifies the administration tasks that are involved in maintaining BizTalk environment. Since the WCF-Custom adapter can leverage many different bindings including Oracle, SQL, SAP, and bindings that allow us to connect to the cloud, it may be beneficial to explicitly create dedicated adapters to avoid confusion. The trade-off is that the binding files generated for you at the development time will be of no help, since they use the WCF-Custom adapter. The bottom line is that there is no right or wrong way; you can choose either depending on your personal style and preferences.
Other -----------------
- Windows Server 2008 Server Core : Renaming a File with the Ren and Rename Commands, Sorting File Content with the Sort Utility
- Windows Server 2008 Server Core : Moving Files and Renaming Files and Directories with the Move Command, Recovering Lost Files with the Recover Utility
- Windows Server 2008 : Moving Accounts with dsmove, Removing Objects with dsrm, Retrieving Information about Objects with dsquery
- Windows Server 2008 : Modifying Accounts with dsmod
- Designing and Configuring Unified Messaging in Exchange Server 2007 : Unified Messaging Shell Commands
- Designing and Configuring Unified Messaging in Exchange Server 2007 : Monitoring and Troubleshooting Unified Messaging (part 3) - Event Logs
- Designing and Configuring Unified Messaging in Exchange Server 2007 : Monitoring and Troubleshooting Unified Messaging (part 2) - Performance Monitors
- Designing and Configuring Unified Messaging in Exchange Server 2007 : Monitoring and Troubleshooting Unified Messaging (part 1) - Active Calls , Connectivity
- Working with the Windows Home Server Registry : Keeping the Registry Safe
- Working with the Windows Home Server Registry : Starting the Registry Editor, Navigating the Registry
 
 
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