To configure the CheckInventoryAvailabilityBE message to enable WebSphere Commerce to use the send-receive message service, do the following:
- Determine which store uses the CheckInventoryAvailabilityBE message, and
identify the STOREENT_ID from the
STOREENT table.
Note: If all stores in the site are using the CheckInventoryAvailabilityBE message, the STOREENT_ID is 0.Before you continue, decide on one of the following actions:
- If your STORENT_ID is 0, proceed to step 3.
- If your STORENT_ID is not 0, proceed to step 2.
- Modify the 0 in the following code found in wcs.Msgtypes.sql:
insert into cmdreg (STOREENT_ID,INTERFACENAME,CLASSNAME,TARGET) values (0, 'com.ibm.commerce.fulfillment.commands.CheckInventoryAvailabilityCmd', 'com.ibm.commerce.fulfillment.commands.CheckInventoryAvailabilityBECmdImpl','Local');
update cmdreg set classname = 'com.ibm.commerce.fulfillment.commands.CheckInventoryAvailabilityBECmdImpl', target = 'Local' where storeent_id = 0 and interfacename = 'com.ibm.commerce.fulfillment.commands.CheckInventoryAvailabilityCmd';
and replaceupdate storeitem set TRACKINVENTORY='N' where TRACKINVENTORY='Y
- with
update storeitem set TRACKINVENTORY = 'N' where storeent_id=<STOREENT_ID>
- Define the properties of the CheckInventoryAvailabilityBE message by doing
the following:
- Logon to the WebSphere Commerce 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 CrossWorlds 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 IBM CrossWorlds Interchange Server. - verb
- the action verb associated with the collaboration, such as create, retrieve, update, and delete.
- mode
- the interaction mode. Since the IBM CrossWorlds adapter is using send and receive mode, this value must be set to 0.
- port
- the IBM CrossWorlds adapter port, for example
port=From.
- Click Finish.
Notes:
- For installation information on the Adapter for CrossWorlds, see the WebSphere Commerce Additional Software Guide. For general information, see the WebSphere Commerce Administration Guide.
- The Adapter for CrossWorlds is not supported on iSeries, Linux, IBM eServer zSeries, or S390 Linux.