Configure a Solicit-Response Send Port for the CData BizTalk Adapter for SQL Server

Use the adapter for SQL Server with a solicit-response send port to execute updategrams and data manipulation SQL in BizTalk.

This section provides step-by-step instructions for creating, configuring, and testing a static solicit-response send port using the CData BizTalk Adapter for SQL Server. You can use a static solicit-response send port to execute commands and access the results in BizTalk. You can use send ports to execute updategram commands, SQL commands, and stored procedure operations.

Create and Configure the Send Port

Create a static solicit-response send port and configure it to use the adapter as its transport type.

  1. If you have not already done so, open your BizTalk application in the BizTalk Administration Console.
  2. In the node for your BizTalk application, right-click Send Ports and select New -> Static Solicit-Response Send Port. The Send Port Properties dialog is displayed.
  3. In the Send Port properties, enter a name for the receive port.
  4. In the Transport Type menu, select CData.SQL;.
  5. In the Send pipeline menu, select the default option, PassThruTransmit.
  6. In the Receive pipeline menu, select the default option, PassThruReceive.

Configure the Adapter

Define the command the adapter will execute in the Transport Properties dialog.

  1. In the send port properties, click the Configure button. The Adapter Transport Properties dialog is displayed.
  2. In the CommandType property, select the command type you want.
  3. If you want to execute an SQL command, enter the command in the SQL Command box.
Refer to the "Adapter Configuration" chapter in the help documentation for a description of the various properties and their functions.

Configure the Connection to SQL Server

Configure credentials and other properties required to connect to SQL Server in the Connection String Options dialog.

  1. In the send port properties, click Configure. The adapter properties dialog is displayed.
  2. Click the button in the Connection String property. The Connection String Options dialog is displayed.
  3. Enter the connection properties. Below is a typical connection string:

    User=myUser;Password=myPassword;Database=NorthWind;Server=myServer;Port=1433;

    Microsoft SQL Server への接続

    Microsoft SQL Server への接続には以下を入力します:

    • Server: SQL Server が稼働するサーバー名。
    • User: SQL Server に接続するユーザー名。
    • Password: 接続するユーザーのパスワード。
    • Database: SQL Server データベース名。

    Azure SQL Server およびAzure Data Warehouse への接続

    Azure SQL Server およびAzure Data Warehouse には以下の接続プロパティを入力して接続します:

    • Server: Azure 上のサーバー。Azure ポータルの[SQL databases](もしくは[SQL data warehouses])-> データベースを選択 -> [Overview]-> [Server name]で確認で可能です。
    • User: Azure に認証するユーザー名。
    • Password: 認証するユーザーのパスワード。
    • Database: Azure ポータルでSQL databases (or SQL warehouses) ページに表示されるデータベース名。

  4. Click Test Connection to verify the values and test connectivity.
Refer to the "Connection String Options" chapter in the help documentation for a description of the various properties and their functions. The updategram tutorial for the adapter for SQL Server walks through the steps to create a simple application that uses a solicit-response send port to execute an insert updategram to SQL Server.
 
 
ダウンロード