Order notification

An outbound back-end message is a WebSphere Commerce-generated request that can be sent to an external system. WebSphere Commerce can be configured to generate the Report_NC_PurchaseOrder XML outbound message that allows you to communicate to back-end systems that an order has been placed. The XML message is generated and sent out by the outbound messaging system, encoded in Unicode UTF-8 format. You can also use the legacy Order Create message, which performs a similar function.

The outbound messages contain order information sent from the WebSphere Commerce Server to external systems, where further order fulfillment processes take place. To enable the outbound message, first you need to choose which one you want to use, either the Report_NC_PurchaseOrder XML message or the legacy Order Create message. The two cannot be enabled at the same time.

If you choose to use the Report_NC_PurchaseOrder XML message, update your CMDREG 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'

This assigns the SendXMLOrderCmdImpl task command which generates and sends the message to the OrderMessagingCmd interface of the OrderProcess command.

If you choose to use the legacy Order Create 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'

This assigns the SendWCSOrderCmdImpl task command which generates and sends the message to the OrderMessagingCmd interface of the Order Process command. You need to restart your WebSphere Commerce instance in order for the change to take effect.

You can also create new outbound back-end integration messages.