Develop > Controller layer > Integrate with back-end systems and external applications > Integration XML messages > Back-end integration messages


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 choose which one 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 the 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 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'

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 the WCS instance in order for the change to take effect.

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


Related concepts

Outbound messaging system


Related tasks

Create an outbound message

Related reference

Back-end integration legacy messages

Report_NC_PurchaseOrder message

Outbound message extension for order create messages


+

Search Tips   |   Advanced Search