Enabling the outbound Order Create message

The Order Create outbound message can be enabled in either XML format or the legacy format. The two formats are generated by the following task commands:

  1. SendXMLOrder generates the Report_NC_PurchaseOrder XML message.
  2. SendWCSOrder generates the Order Create legacy message.

It is recommended that you use the XML format unless you are migrating from a previous version of WebSphere Commerce and want to maintain the existing format. You cannot enable both.

To enable the Report_NC_PurchaseOrder XML message, update your database table using the following SQL statement:

update cmdreg set
classname='com.ibm.commerce.messaging.commands.SendXMLOrderCmdImpl' where
interfacename='com.ibm.commerce.order.commands.OrderMessagingCmd'

To enable the Order Create legacy message, update your database CMDREG table using the following SQL statement:

update cmdreg set
classname='com.ibm.commerce.messaging.commands.SendWCSOrderCmdImpl' where
interfacename='com.ibm.commerce.order.commands.OrderMessagingCmd'

The default JSP, OrderCreateXML.jsp, for the XML message is located at:

WAS_installdir/installedApps/node_name/WC_instance_name.ear/storedir.