Muokkaa

Jaa


Step 7: Configure the MDN Send Port

Step 7 of 11

In this step, you set up a dynamic send port to send an asynchronous MDN to the \_MDNToFabrikam folder. This send port uses the AS2Send send pipeline to generate the outgoing MDN response. Since this is a dynamic send port, it will use the address in the Receipt-Delivery-Option line in the header of the message to route the message to the \_MDNToFabrikam folder. That address is the Fabrikam virtual directory. The Default.aspx.cs file associated with that virtual directory builds the MDN with an .msg extension, and sends the file to the destination folder (which is also specified in Receipt-Delivery-Option).

Note

You can also configure the agreement to send the MDN to another address, by overriding the message settings with the agreement settings. For more information, see

In this example the MDN is sent using a dynamic send port; however you can also use a static send port to send the MDN to a static address. For more information, see Configuring a Static Send Port for Asynchronous MDNs over AS2 and Configuring a Dynamic Send Port for Asynchronous MDNs over AS2.

Prerequisites

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

To create the Send_Async_MDN send port

  1. In the BizTalk Server Administration Console, under the BizTalk Application 1 node, right-click Send Ports, point to New, and then click Dynamic One-way Send Port.

  2. In the Send Port Properties dialog box, name the send port as Send_Async_MDN.

  3. Select AS2Send for Send pipeline.

    Note

    The AS2Send pipeline is used because no EDI processing is required for the MDN.

  4. Click Filters in the console tree. In the Filters pane, select EdiIntAS.IsAS2AsynchronousMdn for Property, == for Operator, and enter True for Value.

    Note

    This filter ensures that the dynamic send port only picks up asynchronous MDNs from the MessageBox.

  5. Click OK.

  6. In the Send Ports pane of the BizTalk Server Administration Console, right-click Send_Async_MDN, and then click Start.

Next Steps

You configure the send port (Send_Async_997) to send the 997 acknowledgement back to Fabrikam, as described in Step 8: Configure the 997 Send Port.

See Also

How BizTalk Server Sends AS2 Messages
Configuring a Static Send Port for Asynchronous MDNs over AS2
Configuring a Dynamic Send Port for Messages over AS2