This activity may be used to send name-value pairs in response to an inbound HTTP request.
The activity is valid only with an inbound HTTP session – that is one that was initiated using the HTTP_BEGIN_INBOUND activity. For more information on inbound HTTP processing in LANSA Composer, refer to:
HTTP Inbound (Server) Processing in LANSA Composer
The name-value pair data is specified by populating a synchronized pair of variable lists and specifying the variable lists on the HTTP_RESPONSE_NAMES and HTTP_RESPONSE_VALUES parameters.
INPUT Parameters:
HTTP_HANDLE: Required
This parameter must specify the session handle value that identifies the HTTP session upon which this activity should operate. The session handle value is returned by the HTTP_BEGIN_INBOUND activity.
HTTP_RESPONSE_NAMES: Required
This parameter specifies the "names" for the name-value pairs to be sent. You must specify at least one name, but the parameter is treated as a variable list so that you can send multiple name-value pairs by populating the variable list with the required names before executing this activity.
HTTP_RESPONSE_VALUES: Required
This parameter specifies the "values" for the name-value pairs to be sent. You must specify at least one value, but the parameter is treated as a variable list so that you can send multiple name-value pairs by populating the variable list with the required values before executing this activity.
OUTPUT Parameters:
There are no output parameters.