Creating a contract using XML (Business Edition)

Creating a new contract using the WebSphere Commerce Accelerator creates a contract in the draft state. This contract will then go through any approval process defined for your store. If you want to create a new contract in either the approved or active state, you must import the contract from an XML file. You can also create draft contracts by importing an XML file.

To create a new contract using XML, do the following:

  1. Edit the contract XML and ensure that the XML conforms to the DTD (B2BTrading.dtd) or XSD (Package.xsd) used for contracts. The contract you create is subject to further restrictions based on the command you will use to import the contract into WebSphere Commerce. 
  2. Refer to the appropriate command page for information about the restrictions on the contract.