Enable the Report_NC_PurchaseOrder 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:

IBM recommends using the XML format unless we are migrating from a previous version of WebSphere Commerce and want to maintain the existing format. We cannot enable both.

The default JSP, OrderCreateXML.jsp, for the XML message is located in the following directory: WC_eardir/storedir


Procedure

  1. Enable one of the following messages:

    • To enable the Report_NC_PurchaseOrder XML message update the 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 the 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'

  2. Assign the Outbound message for WebSphere Commerce XML Order Create or Outbound message for WebSphere Commerce Legacy Order Create message type to the MQ Transport. We can modify the following properties: the JMS Queue Connection Factory, the outbound queue name, the inbound queue name, and the error queue name.

  3. Restart WebSphere Commerce.


Related concepts
Order notification