Creating Document Definitions on the Source Server

A document definition represents a business document in a messaging port, channel, or distribution list. A document definition provides a pointer to a specification that defines the document. A document definition can be associated with any number of messaging ports, channels, and distribution lists.

To create a document definition with an associated XML file

  1. On the source BizTalk Server, click Start, point to Programs, point to Microsoft BizTalk Server 2000, and then click BizTalk Messaging Manager.

  2. In BizTalk Messaging Manager, on the File menu, point to New, and then click Document Definition.

  3. In the NewDocument Definition dialog box, in the Document definition name box, type a name for the document definition (for example, PurchaseOrder or CatalogTransferDoc).

The Document definition name must be the same as the value entered in the Commerce Server App Default Config Properties dialog box, in the BizTalk PO Doc type box. If the values are different, the purchase order submission fails.

For information about setting App Default Config properties, see Configuring Commerce Server to Work with BizTalk Server.

  1. Select the Document specification checkbox, and then click Browse.

  2. In the Select a Document Specification from the WebDAV Repository dialog box, double-click the Microsoft folder.

  3. Select the .xml file (for example, POSchema.xml), and then click Open.

  4. In the New Document Definition dialog box, click OK.

The purchase order is created with an associated custom Extensible Markup Language (XML) file.

See Also

Configuring Commerce Server to Work with BizTalk Server

Creating Envelopes on the Source Server


All rights reserved.