Configure a port using the WCF-custom adapter and SQL adapter
Steps to configure WCF-Custom send and receive ports to perform outbound and inbound operations on SQL Server using the SQL adapter.
Sign in with an account that is a member of the BizTalk Server Administrators or BizTalk Operators group. For more detailed information about permissions, see Permissions Required for Deploying and Managing a BizTalk Application, and Minimum Security Rights.
Perform the following steps to configure a WCF-Custom send port for sending messages to SQL Server using the BizTalk Server Administration console.
Start the BizTalk Server Administration console.
In the console tree, expand BizTalk Group, and then expand Applications.
Expand the application under which you want to deploy the SQL adapter.
Right-click Send Ports, point to New, and then point to the type of port you want to configure depending on the mode of communication between BizTalk Server and SQL Server.
In the Send Port Properties dialog box, on the General tab, type a name for the send port.
From the Type drop-down list, select WCF-Custom, and then click Configure.
In the WCF-Custom Transport Properties dialog box, do the following:
Click the General tab, and in the Address (URI) field, specify the connection URI for SQL Server. For more information about the connection URI, see Create the SQL Server connection URI.
On the General tab, in the Action text box, type the action for the operation. See Messages and message schemas for a list of actions for each operation. For example, the action to invoke the Insert operation on a table in a SQL Server database is:
TableOp/Insert/dbo/Employee
Примечание
Employee is the name of a table in SQL Server database.
Click the Binding tab, and from the Binding Type list, select sqlBinding. You can specify the different binding properties exposed by the SQL adapter. For more information about binding properties, see Read about the BizTalk Adapter for SQL Server adapter binding properties.
Click the Credentials tab, and then do one of the following:
Select the Do not use Single Sign-On option, and the specify the user name and password to connect to SQL Server. Note that the user name and password are case-sensitive.
Примечание
If you want to connect to SQL Server using Windows authentication, specify a blank user name and password. Before you do this, the Windows user with which you are logged in must be added to SQL Server as described in Connect to SQL Server using Windows Authentication with the SQL adapter.
Select the Use Single Sign-On option, and then specify an affiliate Enterprise Single Sign-on (SSO) application.
For more information about security with respect to BizTalk Server, see Security with the SQL adapter and BizTalk Server.
To return to the Send Port Properties dialog box, click OK.
From the Send handler list, select BizTalkServerApplication.
If you chose Static One-Way Send Port in step 4, specify a send pipeline. From the Send pipeline list, select the pipeline that corresponds to XMLTransmit.
If you chose Static Solicit-Response Port in step 4, specify send and receive pipelines.
From the Send pipeline drop-down list, select the pipeline that corresponds to XMLTransmit.
From the Receive pipeline drop-down list, select the pipeline that corresponds to XMLReceive.
Click OK.
Perform the following steps to configure a WCF-Custom receive port for receiving messages from SQL Server using the BizTalk Server Administration console.
Start the BizTalk Server Administration console.
In the console tree, expand BizTalk Group, and then expand Applications.
Expand the application under which you want to deploy the SQL adapter.
Right-click Receive Ports, point to New, and click One-way Receive Port or Request Response Receive Port, depending on the mode of communication between BizTalk Server and SQL Server.
In the Receive Port Properties dialog box, on the General tab, type a name for the receive port.
On the Receive Locations tab, click New. The Receive Location Properties dialog box appears.
In the Receive Location Properties dialog box, do the following:
Specify a name for the receive location.
From the Type drop-down list, select WCF-Custom, and then click Configure.
In the WCF-Custom Transport Properties dialog box, do the following:
Click the General tab, and in the Address (URI) field, specify the connection URI for SQL Server. For more information about the connection URI, see Create the SQL Server connection URI.
Click the Binding tab, and from the Binding Type drop-down list, select sqlBinding. You can specify the different binding properties exposed by the SQL adapter. For more information about binding properties, see Read about the BizTalk Adapter for SQL Server adapter binding properties.
Click the Behavior tab to set the transaction isolation level. For more information about setting transaction isolation level, see Configure Transaction Isolation Level and Transaction Timeout with SQL.
Click the Other tab, and do one of the following:
Select User account, and specify the user name and password to connect to SQL Server. Note that the user name and password are case-sensitive.
Примечание
If you want to connect to SQL Server using Windows authentication, specify a blank user name and password. Before you do this, the Windows user with which you are logged in must be added to SQL Server as described in Connect to SQL Server using Windows Authentication with the SQL adapter.
Select Get credentials from affiliate application option, and specify an affiliate SSO application.
For more information about security with respect to BizTalk Server, see Security with the SQL adapter and BizTalk Server.
To return to the Receive Location Properties dialog box, click OK.
From the Receive handler drop-down list, select BizTalkServerApplication.
If you chose One-way Receive Port in step 4, specify a receive pipeline. From the Receive pipeline list, select the pipeline corresponding to XMLReceive.
If you chose Request Response Receive Port in step 4, specify send and receive pipelines.
From the Receive pipeline drop-down list, select the pipeline that corresponds to XMLReceive.
From the Send pipeline drop-down list, select the pipeline that corresponds to XMLTransmit.
In the Receive Location Properties dialog box, click OK.
In the Receive Port Properties dialog box, click OK.
Manually configure a physical port binding to the SQL adapter