Logo
HOW TO
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
 
 
Windows Server

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

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
 
 
REVIEW
- First look: Apple Watch

- 10 Amazing Tools You Should Be Using with Dropbox

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
 
VIDEO TUTORIAL
- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
 
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS
Popular keywords
HOW TO Swimlane in Visio Visio sort key Pen and Touch Creating groups in Windows Server Raid in Windows Server Exchange 2010 maintenance Exchange server mail enabled groups Debugging Tools Collaborating
Top 10
- Microsoft Excel : How to Use the VLookUp Function
- Fix and Tweak Graphics and Video (part 3) : How to Fix : My Screen Is Sluggish - Adjust Hardware Acceleration
- Fix and Tweak Graphics and Video (part 2) : How to Fix : Text on My Screen Is Too Small
- Fix and Tweak Graphics and Video (part 1) : How to Fix : Adjust the Resolution
- Windows Phone 8 Apps : Camera (part 4) - Adjusting Video Settings, Using the Video Light
- Windows Phone 8 Apps : Camera (part 3) - Using the Front Camera, Activating Video Mode
- Windows Phone 8 Apps : Camera (part 2) - Controlling the Camera’s Flash, Changing the Camera’s Behavior with Lenses
- Windows Phone 8 Apps : Camera (part 1) - Adjusting Photo Settings
- MDT's Client Wizard : Package Properties
- MDT's Client Wizard : Driver Properties
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro