Develop > Controller layer > Integrate with back-end systems and external applications > Distributed Order Management (DOM) integration


Accept a WebSphere Enterprise Service Bus (WESB) mediation module for DOM integration

Accept a simple, yet functional, WebSphere Enterprise Service Bus (WESB) mediation module for DOM integration using WebSphere integration Developer (WID) introduces you to several key concepts. These concepts include working with WID as a development platform, working with mediation flows, andusing XSL transformation primitives in mediation flows to transform WebSphere Commerce OAGIS BOD messages to and from messages in the backend system's format.

The external OMS simulator is a simple JEE application written to serve as a sample backend system for DOM integration purposes. It imitates an authentic backend system by exposing a number of inventory and order operations, for example, inventory reservation and order creation, as web services. However, the external OMS simulator does not perform any real processing or logic when generating data to return. It instead returns standard or random results, depending on the case, to use as sample sets of data. See Install the external OMS simulator for more information.

  1. Create a new WESB mediation module
    The initial mediation module is created and targets the ESB Server runtime.

  2. Define the imports and exports
    The imports and exports are defined and initially connected for the mediation modules.

  3. Connect the operations
    The connections between the WebSphere Commerce operations and the External OMS simulator are created.

  4. Import custom XSL files and extension functions into the WESB mediation module
    The custom XSL files and extension functions are imported into the WESB mediation module. The custom XSL files are utilized by XSL Transformation primitives in mediation flows to transform WebSphere Commerce OAGIS BOD messages to and from External OMS Simulator messages. The custom XSL files use the extension functions to extract parameters from XPath expressions in WebSphere Commerce OAGIS BOD messages.

  5. Define the ProcessOrder mediation flow
    The connections are created to define the mediation flow between the ProcessOrder operation of WebSphere Commerce and the createOrder operation of the External OMS Simulator.

  6. Define the GetInventoryAvailability mediation flow
    The connections are created to define the mediation flow between the GetInventoryAvailability operation of WebSphere Commerce and the getInventory operation of the External OMS Simulator.

  7. Define the ProcessInventoryRequirement mediation flow
    The connections are created to define the mediation flow between the ProcessInventoryRequirement operation of WebSphere Commerce and the updateInventoryReservations and cancelInventoryReservations operations of the External OMS Simulator.

  8. Generate SOAP/HTTP bindings for the imports and exports
    The SOAP/HTTP bindings for the imports and exports of the WESB mediation module are generated.


+

Search Tips   |   Advanced Search