Configure the Request_WCS_BE_ProductInventory message
To configure the CheckInventoryAvailabilityBE message to enable WebSphere Commerce to use the send-receive message service:
- Determine which store uses the CheckInventoryAvailabilityBE message, and identify the STOREENT_ID from the
STOREENT table.
Note: If all stores in the site will use the CheckInventoryAvailabilityBE message the STOREENT_ID is set to 0.- Choose the appropriate option:
- To configure the message at the site-level:
insert into cmdreg (STOREENT_ID,INTERFACENAME,CLASSNAME,TARGET) values (0, 'com.ibm.commerce.fulfillment.commands.CheckInventoryAvailabilityCmd', 'com.ibm.commerce.fulfillment.commands.CheckInventoryAvailabilityBECmdImpl','Local'),update storeitem set TRACKINVENTORY='N' where TRACKINVENTORY='Y;- To configure the message for a particular store:
insert into cmdreg (STOREENT_ID,INTERFACENAME,CLASSNAME,TARGET) values (STOREENT_ID, 'com.ibm.commerce.fulfillment.commands.CheckInventoryAvailabilityCmd', 'com.ibm.commerce.fulfillment.commands.CheckInventoryAvailabilityBECmdImpl','Local'),update storeitem set TRACKINVENTORY='N' where TRACKINVENTORY='Y and storeent_id=STOREENT_ID;- Execute the preceding SQL statements.
- Define the properties of the CheckInventoryAvailabilityBE message by doing the following:
- Open the Administration Console.
- Select site or store configuration.
- Under the Configuration menu, select Message Types. The Message Transport Assignment page displays.
- Click New.
- Select Checks inventory availability from a backend system from the Message Type drop-down list.
- Enter 0 in the Message Severity field.
- Select Adapter for WebSphere InterChange Server in the Transport drop-down list.
- Select Standard Device Format in the Device Format drop down list and click Next.
- Update any fields needed as well as the following parameters:
- collaborationName
- The collaboration name which is used during
the interaction between WebSphere Commerce and the WebSphere InterChange Server Interchange Server.- verb
- The action verb associated with the collaboration, such as create, retrieve, update, and delete.
- mode
- The interaction mode. Since the adapter for WebSphere InterChange Server is using send and receive mode, this value must be set to 0.
- port
- The adapter for WebSphere InterChange Server port, for example port=From.
- Click Finish.
Notes:
- For installation information about the Adapter for WebSphere InterChange Server, see the WebSphere Commerce Additional Software Guide.
- The Adapter for WebSphere InterChange Server is not supported on iSeries, Linux, IBM eServer zSeries, or S390 Linux.
(C) Copyright IBM Corporation 1996, 2006. All Rights Reserved.