如何建立接收位置How to Create a Receive Location

本主題描述如何使用 BizTalk Server 管理主控台建立新的接收位置,並指定該位置所屬的接收埠。This topic describes how to use the BizTalk Server Administration console to create a new receive location and specify the receive port to which it belongs. 接收位置是輸入訊息送達的位址,也是處理在該位址所接收之訊息的傳訊管線。A receive location is an address where inbound messages arrive as well as the messaging pipeline that processes messages received at that address.

在建立接收位置之前,在這個應用程式中必須已經有接收埠存在 (該應用程式的類型要與所建立之接收位置相同)。Before you can create a receive location, a receive port must already exist in this application that of the same type as the receive location you want to create. 如需建立接收埠的指示,請參閱 如何建立接收埠For instructions on creating a receive port, see How to Create a Receive Port.

您可以建立下列類型的接收位置:You can create the following types of receive locations:

  • 單向:用在應用程式放置訊息但不同步等候回覆時One-way — used for applications that drop off a message and do not wait synchronously for a reply

  • 要求-回應:用在應用程式需要訊息的回應時Request-response — used with applications that require a response to a message

注意

應用程式開發人員可以使用此主題中的程序,在開發程序中建立接收位置。The application developer can create a receive location during the development process by using the procedure in this topic.

必要條件Prerequisites

若要執行這個主題中的程序,您必須使用「BizTalk Server 系統管理員」群組成員的帳戶登入。To perform the procedure in this topic, you must be logged on with an account that is a member of the BizTalk Server Administrators group. 如需有關許可權的詳細資訊,請參閱 部署和管理 BizTalk 應用程式所需的許可權For more detailed information on permissions, see Permissions Required for Deploying and Managing a BizTalk Application. 此外,您必須擁有適當的 SSO 資料庫權限。In addition, you need to have appropriate permissions on the SSO database.

建立接收位置To create a receive location

  1. 按一下 [ 開始],依序按一下 [ 所有程式]、[] Microsoft BizTalk Server 20xxMicrosoft BizTalk Server 20xx ,然後按一下 [ BizTalk Server 管理]。Click Start, click All Programs, click Microsoft BizTalk Server 20xxMicrosoft BizTalk Server 20xx, and then click BizTalk Server Administration.

  2. 在主控台樹狀結構中,展開您要建立其接收位置的 BizTalk 群組和 BizTalk 應用程式。In the console tree, expand the BizTalk group and the BizTalk application for which you want to create a receive location.

  3. 以滑鼠右鍵按一下 [ 接收位置],指向 [ 新增],然後根據要建立的接收位置類型,按一下 [ 單向接收位置 ] 或 [ 要求回應接收位置]。Right-click Receive Locations, point to New, and then click One-way Receive Location or Request Response Receive Location, according to the type of receive location to create.

  4. 在 [選取接收埠] 視窗中,按一下將包含此接收位置的接收埠,然後按一下 [確定]In the Select a Receive Port window, click the receive port that will contain this receive location, and then click OK.

  5. 在 [ 接收位置屬性 ] 視窗中,執行下列動作,然後按一下 [確定]In the Receive Location Properties window, do the following, and then click OK:

    使用Use this 作法To do this
    名稱Name 輸入接收位置的名稱。Type the name of the receive location.
    型別Type 從下拉式清單選取傳輸類型或傳輸通訊協定。From the drop-down list, select the transport type, or transport protocol. 若您變更傳輸類型,則必須設定如下所描述的傳輸屬性。If you change the transport type, you must configure transport properties, as described next.
    設定Configure 選取傳輸類型之後,按一下 [ 設定 ] 以顯示 [ 傳輸屬性 ] 對話方塊,並設定接收位置的介面卡屬性。After you select the transport type, click Configure to display the Transport Properties dialog box and configure adapter properties for the receive location. 如需相關指示, 請按一下對話方塊中的 [ 說明]。For instructions, click Help in the dialog box. 如需設定每個介面卡類型的詳細資訊,請參閱 使用介面卡底下的適當主題。For details on configuring each type of adapter, see the appropriate topic under Using Adapters.
    接收處理常式Receive handler 從下拉式清單選取 BizTalk Server 主控件的執行個體 (接收位置會在其上執行)。From the drop-down list, select the instance of the BizTalk Server host on which the receive location will run. 接收處理常式必須在此主控件上執行。The receive handler must be running on this host.
    接收管線Receive pipeline 從下拉式清單選取接收管線,用來在此接收位置接收訊息。From the drop-down list, select the receive pipeline to use to receive messages at this receive location.
    傳送管線Send pipeline 從下拉式清單選取傳送管線,用來從此接收位置傳送回應。From the drop-down list, select the send pipeline to use to send responses from this receive location. 只有和要求-回應接收埠相關聯的接收位置才能使用此清單。This list is available only for a receive location associated with a request-response receive port.
    讓此位置成為主要位置Make this the primary location 若接收埠有一個以上的接收位置,而且必須將連接埠傳遞給需要將訊息傳送至您組織的另一個實體時 (例如,商務合夥人),若想要以此接收位置代表接收埠,請選取此核取方塊。Select this check box if you have more than one receive location for a receive port and you want this receive location to represent the receive port when the port needs to be passed to another entity, such as a business partner, that needs to send messages to your organization. 建立的第一個接收位置會自動選取為主要接收位置。The first receive location created is automatically selected as the primary receive location. 除非您指派其他接收位置做為主要位置,否則此屬性會繼續處於選取狀態而且無法使用。This property remains selected and unavailable until you designate a different receive location as the primary.

另請參閱See Also

管理接收位置Managing Receive Locations