DisplayMessage command

Displays a message from the MESSAGE table. The messages are created by the Trading subsystem.

Command structure

http://host_name/path/
The fully qualified name of your WebSphere Commerce Server and the configuration path.

Diagram of the command structure: the command starts with the fully qualified name of your WebSphere Commerce Server and the configuration path, followed by the command name, DisplayMessage  and the ? character. End the command with a list of parameters in the form of name value pairs. Separate each name value pair with the & character. For a detailed description of the parameters and their values, refer to the list entitled Parameter values.

Parameter values

msgrfn
(Required) The message reference number.
url
(Required) The view command to use to display the message.
displayMessage
(Required) The status code of message to display. Only messages with a status of 'N' can be displayed. Other messages with other status codes cannot be displayed.

Example

This example displays the message 10001:

http://myhostname/webapp/wcs/stores/servlet/DisplayMessage?msgrfn=10001
   &msgstatus=N&URL=MailDisplayView

Behavior

Exception Conditions