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

  1. Start the following servers:

  2. Open the Administration Console.

  3. On the Site/Store Selection page, select Site.

  4. Select Configuration > Transports.

  5. Click Add.

  6. Select WebServices (HTTP).

  7. Click Add.

  8. Select Configuration > Message Types.

  9. 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

  10. Close the Administration Console.

  11. 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

  12. 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.

  13. Execute the following SQL statement:

    UPDATE INVCNF SET FLAGS=14;
    

  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:

  15. 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:

  16. Restart the WebSphere Commerce Server:


Previous topic: Configure the external OMS simulator mediation module on WebSphere Integration Developer


+

Search Tips   |   Advanced Search