This activity may be used to receive name-value pairs received via HTTP. It may be used:
- With an inbound HTTP session – that is one that was initiated using the HTTP_BEGIN_INBOUND activity – to receive the name-value pair content sent with the inbound HTTP request. For more information on inbound HTTP processing in LANSA Composer, refer to:
HTTP Inbound (Server) Processing in LANSA Composer
- With an outbound HTTP session – that is one that was initiated using the HTTP_BEGIN_OUTBOUND activity – it is used AFTER sending an HTTP request, to receive the name-value pair content sent with the HTTP response. For more information on outbound HTTP processing in LANSA Composer, refer to:
HTTP Outbound (Client) Processing in LANSA Composer
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 or HTTP_BEGIN_OUTBOUND activity.
OUTPUT Parameters:
HTTP_RECEIVED_COUNT:
Upon successful completion, this parameter will contain the count of the name-value pairs received.
HTTP_RECEIVED_NAMES:
Upon successful completion, this parameter will contain the "names" for the name-value pairs received. It is a variable list containing the number of entries identified by the HTTP_RECEIVED_COUNT parameter.
HTTP_RECEIVED_VALUES:
Upon successful completion, this parameter will contain the "values" for the name-value pairs received. It is a variable list containing the number of entries identified by the HTTP_RECEIVED_COUNT parameter.