Step 2: Configure and Start the Application

 

Step 2 of 3

Time to complete: 10 minutes

Objective: In this step, you configure and start the EAISolution application.

Purpose: The configuration is mostly about binding. A binding creates a mapping between a logical endpoint, such as an orchestration port or a role link, and a physical endpoint, such as a send and receive port or party. This enables communication between different components of a BizTalk business solution. You can create bindings by using the BizTalk Server Administration console.

Note the following requirements before you begin this step:

  • Before you begin this step you must complete Step 1: Deploy the Projects.

  • You must log on as a member of the BizTalk Server Administrators group.

The BizTalk application is a feature of BizTalk Server that makes it quicker and easier to deploy, manage, and troubleshoot BizTalk Server business solutions. A BizTalk application is a logical grouping of the items, called "artifacts," used in a BizTalk Server business solution. For more information, see What Is a BizTalk Application?. In Step 1: Deploy the Projects, we configure the application name to be “EAISolution” before we deploy the projects. So the EAISolution application contains the orchestration, the two schema, and the map.

To open the EAISolution application from BizTalk Server Administration Console

  1. Click Start, point to All Programs, point to Microsoft BizTalk Server 20xx, and then click BizTalk Server Administration.

  2. In the console tree on the left side of the BizTalk Server Administration Console, expand BizTalk Server Administration, right-click BizTalk Group, and then click Refresh.

  3. Expand BizTalk Group, expand Applications, and then click EAISolution.

In Lesson 2: Define the Business Process, we created an orchestration. In the orchestration, we defined the logical ports. In the following procedures, you will define the physical ports and bind the physical ports to the logical ports.

To create the ReceiveRequest port

  1. From BizTalk Server Administration Console, under the EAISolution node, right-click Receive Ports, point to New, and then click One-way Receive Port.

  2. On the General tab, do the following:

    Use thisTo do this
    NameType EAISolutionReceiveRequestPort.
    Enable routing for failed messages(clear)
  3. Click Receive Locations, and then click New.

  4. From Receive Location1 – Receive Location Properties, do the following:

    Use thisTo do this
    NameType EAISolutionReceiveRequestLocation.
    TypeSelect File.
    Receive handlerSelect BizTalkServerApplication.
    Receive pipelineSelect XMLReceive.
  5. Click Configure.

  6. From File Transport Properties, do the following:

    Use thisTo do this
    Receive folderType C:\BTSTutorials\WareHouse\Request.
  7. Click OK three times.

To create the SendDecline port

  1. From BizTalk Server Administration Console, under the EAISolution node, right-click Send Ports, point to New, and then click Static One-way Send Port.

  2. On the General tab, do the following:

    Use thisTo do this
    NameType EAISolutionSendDeclinePort.
    TypeSelect File.
    Send handlerSelect BizTAlkServerApplication.
    Send pipelineSelect XML Transmit.
  3. Click Configure.

  4. From File Transport Properties, do the following:

    Use thisTo do this
    Receive folderType C:\BTSTutorials\WareHouse\RequestDecline.
    File nameType RequestDecline_%MessageID%.xml.
  5. Click OK twice.

To create the SendToERP port

  1. From BizTalk Server Administration Console, under the EAISolution node, right-click Send Ports, point to New, and then click Static One-way Send Port.

  2. On the General tab, do the following:

    Use thisTo do this
    NameType EAISolutionSendToERPPort.
    TypeSelect File.
    Send handlerSelect BizTAlkServerApplication.
    Send pipelineSelect XML Transmit.
  3. Click Configure.

  4. From File Transport Properties, do the following:

    Use thisTo do this
    Receive folderType C:\BTSTutorials\ERP\Request.
    File nameType Request_%MessageID%.xml.
  5. Click OK twice.

To bind the ports

  1. From BizTalk Server Administration Console, right-click EAISolution, and then click Configure.

  2. From Configure Application, in the left pane, click EAIProcess. This is the orchestration we created.

  3. From the right pane, do the following:

    Use thisTo do this
    HostSelect BizTalkServerApplication.
    Receive Port for ReceiveRequestPortSelect EAISolutionReceiveReqeustPort.
    Send PortsSend Port Groups for ReceiveRequestPortSelect EAISolutionSendDeclinePort.
    Receive Port for ReceiveRequestPortSelect EAISolutionSendToERPPort.
  4. Click OK to save the configuration.

To start the application

  1. From BizTalk Server Administration Console, right-click EAISolution, and then click Start.

  2. From the dialog, click Start.

In this step, you configured and started the EAIApplication application.

You test how the EAI solution processes messages in Step 3: Test the Solution.

Step 1: Deploy the Projects
Step 3: Test the Solution

Community Additions

ADD
Show: