Editar

Compartilhar via


Step 6: Configure a Send Port to Send Data to Your Organization

Step 6 of 9

In this step you configure a send port to send the 850 message from BizTalk Server to the OrderSystem party that represents your organization. This send port applies the Inbound4010850_to_OrderFile map, transforming the output message from the format of the input message to the format specified in the map.

Prerequisites

You must be logged on as a member of the BizTalk Server Administrators group.

To configure a send port for the 850 message

  1. In the BizTalk Server Administration Console, right-click Pipelines, and then click Refresh.

    Note

    Refreshing the pipelines list may be necessary to be able to select the SendOrderFilePipeline for the send port that you will create.

  2. Right-click Send Ports, point to New, and then click Static One-way Send Port.

  3. In the Send Port Properties dialog box, do the following:

    Use this To do this
    Name Enter toOrderSystem.
    Type Select FILE.
    Configure Click Configure.

    Note

    The transport type of the send port is FILE because the test message is a flat file to be delivered into a folder.

  4. In the FILE Transport Properties dialog box, do the following and then click OK:

    Use this To do this
    Destination folder Click Browse, and in the Browse for Folder dialog box, move to \Program Files (x86)\Microsoft BizTalk Server <VERSION>SDK\EDI Interface Developer Tutorial\ProcessEDI_TestLocations\ Scenario A\toOrderSystem
    File name Enter %MessageID%.txt, and then click OK.

    Note

    The value set for the File name property ensures that the output file will have a .txt extension.

  5. In the Send Port Properties dialog box, for Send pipeline, select SendOrderFilePipeline.

    Note

    The SendOrderFilePipeline send pipeline includes a flat-file assembler that assembles the .txt output file, using data mapped from the input 850 message. Since the output file is a .txt file, it will not show up in the Interchange/ACK status report.

  6. In the console tree, click Filters, and then do the following:

    Use this To do this
    Property Select BTS.ReceivePortName.
    Operator Select ==.
    Value Enter ReceiveEDI_fromTHEM_A.
    Group by Select And.
    Property On the next line, select BTS.MessageType.
    Operator Select !=.
    Value Enter http://schemas.microsoft.com/Edi/X12#X12_997_Root.

    Note

    The filter ensures that the send port will pick up messages that were received by the Receive_EDI_fromTHEM_A receive location, and that the send port will not pick up 997 acknowledgments, but will pick only 850 messages.

  7. In the console tree, click OutboundMaps. In the Outbound Maps pane, in the Map column, on the first row, select Inbound4010850_to_OrderFile. (The entry in the Source Document column will be X12_00401_850.)

    Note

    This step ensures that the output message will consist only of the data mapped from the input message according to the Inbound4010850_to_OrderFile map.

  8. Click OK.

  9. In the BizTalk Server Administration Console, click Send Ports. Right-click toOrderSystem, and then click Start to enlist and start the port.

Next Steps

You configure the send port (toTHEM_997) to send the 997 acknowledgment back to Fabrikam, as described in Step 7: Configure a Send Port to Send the Acknowledgment to Your Trading Partner.

See Also

Configuring a Static Send Port to Send EDI Interchanges and Acknowledgments