Step 6: Configure a Send Port to Send Data to Your Organization
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.
You must be logged on as a member of the BizTalk Server Administrators group.
To configure a send port for the 850 message
In the BizTalk Server Administration Console, right-click Pipelines, and then click Refresh.
Refreshing the pipelines list may be necessary to be able to select the SendOrderFilePipeline for the send port that you will create.
Right-click Send Ports, point to New, and then click Static One-way Send Port.
In the Send Port Properties dialog box, do the following:
Use this To do this Name Enter
Type Select FILE. Configure Click Configure.
The transport type of the send port is FILE because the test message is a flat file to be delivered into a folder.
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\Microsoft BizTalk ServerSDK\EDI Interface Developer Tutorial\ProcessEDI_TestLocations\ Scenario A\toOrderSystem File name Enter
%MessageID%.txt, and then click OK.
The value set for the File name property ensures that the output file will have a .txt extension.
In the Send Port Properties dialog box, for Send pipeline, select SendOrderFilePipeline.
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.
In the console tree, click Filters, and then do the following:
Use this To do this Property Select BTS.ReceivePortName. Operator Select ==. Value Enter
Group by Select And. Property On the next line, select BTS.MessageType. Operator Select !=. Value Enter
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.
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.)
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.
In the BizTalk Server Administration Console, click Send Ports. Right-click toOrderSystem, and then click Start to enlist and start the port.
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.