Develop > Controller layer > Integrate with back-end systems and external applications > Distributed Order Management (DOM) integration > Configure Distributed Order Management (DOM) integration with the external OMS simulator
Configure the DOM integration feature
The DOM integration feature is configured and the store is updated to use an external system for inventory and order processing.
Procedure
- Start the following servers:
- Start the WebSphere Commerce server.
- Launch WebSphere Commerce Developer and start the WebSphere Commerce test server.
- Open the Administration Console.
- On the Site/Store Selection page, select Site.
- Select Configuration > Transports.
- Click Add.
- Select WebServices (HTTP).
- Click Add.
- Select Configuration > Message Types.
- Create the following two new message type configurations:
Property Value Message type Message for external inventory system For example, com.ibm.commerce.inventory.external
Transport WebServices (HTTP) Device format webservices URL http://hostname:9080/ExtOMSSimMediationModuleWeb/sca/InventoryServices
Property Value Message type Message for external order system For example, com.ibm.commerce.order.external
Transport WebServices (HTTP) Device format webservices URL http://localhost:9080/ExtOMSSimMediationModuleWeb/sca/OrderServices
- Close the Administration Console.
- Connect to the database:
- Use a database client to connect to the WebSphere Commerce database.
- On a WebSphere Commerce Developer machine, navigate to the following URL: http://localhost/webapp/wcs/admin/servlet/db.jsp
- Execute the following SQL statement to use an external system for inventory and order processing:
UPDATE STORE SET INVENTORYSYSTEM=-5 WHERE STORE_ID IN (SELECT STOREENT_ID FROM STOREENT WHERE IDENTIFIER='Store_Identifier' );
Where Store_Identifier is the value of the store identifier. For example, 'Madisons' for the consumer direct store.
- Execute the following SQL statement:
UPDATE INVCNF SET FLAGS=14;
- Replace the wc-component-client.xml file from the following directories:
- WC_EAR/xml/config/com.ibm.commerce.inventory.external/wc-component-client.xml
- workspace_dir/wc/xml/config/com.ibm.commerce.inventory.external/wc-component-client.xml
with the following file:
- wc-component-client.xml (this file is contained within a ZIP file archive).
- Replace the wc-component-client.xml file from the following directories:
- WC_EAR/xml/config/com.ibm.commerce.order.external/wc-component-client.xml
- workspace_dir/wc/xml/config/com.ibm.commerce.order.external/wc-component-client.xml
with the following file:
- wc-component-client.xml (this file is contained within a ZIP file archive).
- Restart the WebSphere Commerce Server:
Previous topic: Configure the external OMS simulator mediation module on WebSphere Integration Developer