Reliable Messaging Receipts

Reliable messaging is a feature of the BizTalk 2.0 Framework. It is intended to provide receipt functionality for XML-based instance documents. Reliable messaging works similarly to the channel method discussed previously. The channel method requires an X.12 or EDIFACT document, since those document formats are already configured to specify the source and destination routing information. In reliable messaging, a similar effect is obtained by specifying a "return address" in the header, known as a "reply-to URL."The reply-to URL must be specified in a document envelope, which is used to wrap the instance document in XML that describes the document's source and destination.

Let's go through the process of configuring reliable messaging and then configuring a messaging port to use reliable messaging. This process is used on the source system when a receipt is expected from the destination organization.

1. Launch the BizTalk Server Administration application. Choose BizTalk Server Group from the tree view on the left, and click Properties.You will see a property page similar to that shown in Figure 6.6. Enter a fully qualified URL to the resource you want to process any reliable messaging receipts. In this example, it is configured as an ASP page accessed via HTTP.

Figure 6.6 Configuring the Reply-to URL

Figure 6.6 Configuring the Reply-to URL

2. Now launch the BizTalk Messaging Manager application and create a new Envelope. Choose RELIABLE as the envelope format, as shown in Figure 6.7. Since you have specified RELIABLE in the format combo box, you will not have the option to specify an envelope document specification. If you choose one of the custom formats (CUSTOM, CUSTOM XML, or FLATFILE), you would have the option of specifying a document specification to tell the source and destination systems how to package and unpackage your document.

Figure 6.7 Creating an Envelope for Reliable Messaging

Figure 6.7 Creating an Envelope for Reliable Messaging

On the destination side, little configuration is necessary. In fact, in most cases, BizTalk Server 2000 requires no configuration on the destination server, and it will send a reply receipt to the source system automatically based on information found in the reliable messaging envelope that packages the document. The only case where modifications are required on the destination system is when an SMTP address is specified by the source system as the reply-to URL in the reliable messaging envelope. In this case, the destination system must identify itself to the SMTP mail service and provide a "from" address. Follow these steps to configure the destination system for replying to an SMTP address:

1. Launch the BizTalk Messaging Manager application on the destination system. Choose the home organization (the organization marked as "default"), and make note of its Properties. Choose the Identifiers tab (Figure 6.8), and then double-click the Reliable Messaging Acknowledgement SMTP From Address entry in the list box.

Figure 6.8 The Organization Identifiers Tab

Figure 6.8 The Organization Identifiers Tab

2. The Identifier Properties dialog box should appear. The custom name specified, "Reliable Messaging Acknowledgement SMTP From Address," is a special identifier included for the home organization to facilitate reliable messaging. Enter the e-mail address for your organization in the Value text box here. Any reliable messaging replies to SMTP sources will now include this as the From address.

Figure

6.9 Reliable Messaging "From" Address Configuration

6.9 Reliable Messaging "From" Address Configuration

Was this article helpful?

0 0

Post a comment