This activity may be used to set HTTP header property values.  It may be used:

  • With an inbound HTTP session – that is one that was initiated using the HTTP_BEGIN_INBOUND activity – to set header property values prior to sending the HTTP response to an 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 – to set header property values prior to sending an HTTP request.  For more information on outbound HTTP processing in LANSA Composer, refer to:

HTTP Outbound (Client) Processing in LANSA Composer

You may use this activity in either of or a combination of two ways:

  • Execute it once for each HTTP header property name and value that you wish to set.
  • Assign the HTTP header property names and values to variable lists and set them all at once by specifying the variable lists on the HTTP_PROPERTY_NAME and HTTP_PROPERTY_VALUE 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  or HTTP_BEGIN_OUTBOUND activity.

HTTP_PROPERTY_NAME: Required

This parameter must specify the name(s) of the HTTP header property(s) to be set.

HTTP_PROPERTY_VALUE: Required

This parameter must specify the value(s) of the HTTP header property(s) to be set.

OUTPUT Parameters:

There are no output parameters.

  • No labels