Unexpected Failure When Trying to Exchange Orders Between Two Instances of Commerce Server

If you are using the Commerce Server 2009 R2 Orders adapter to send orders between two instances of Commerce Server 2009 R2, and the exporting instance of Commerce Server 2009 R2 is configured to export one order per message, you will have to work with the root element of the message within BizTalk Server, for example by using BizTalk Mapper. Specifically, you must change the root element from OrderGroups (plural) to OrderGroup (singular) before importing it into the second instance of Commerce Server 2009 R2. If you do not perform this transformation, you will generate the following error:

Specified Xml is invalid. The root node OrderGroups is not an OrderGroup derived type.

See Also

Other Resources

Troubleshooting the BizTalk Adapters