Output

The output for the activity is the following.

Output Item

Datatype

Description

Header

string

The header of the HTTP request.

statusLine

complex

This field is the first line of the response message. This consists of the protocol version, a numeric status code, and the text phrase explaining the status code. For more information about status codes in HTTP responses, see the HTTP specification.

binaryContent

binary

The binary content of the response to the request from the HTTP server.

asciiContent

string

The ASCII content of the response to the request from the HTTP server.

Headers

complex

The header fields of the reply. The structure of this output item is specified on the Output Headers tab.

DynamicHeaders

complex

The dynamic header is an additional header parameter to add runtime headers to the Outgoing Http Messages. This element is specified in the Input tab. Dynamic header consists of the following information:

  • Name — name of the header.

  • Value — value of the header.

The following overriding conditions can be considered:

  • Overrides the value of HeaderName with the value found in DynamicHeaders if it is a non-repeating header. If more than one occurrence of this header is found under DynamicHeaders, it throws the following exception:

    "The header [ headerName ] is defined as non-Repeating Header in Input Headers. This header cannot have multiple occurences in DynamicHeaders."

  • If it is repeating element, add the respective name value pairs under dynamic headers, which can be added to the existing list maintained for this element.

  • For a repeating element, if the new header name is not found under Headers section declared via TIBCO Designer, following is added into the HTTP Headers.

    • Shows only one value, if found once in DynamicHeaders.

    • Shows array of values, if found repeating in DynamicHeaders.

mimeEnvelope
Element

complex

This element contains the message attachments. This element contains a repeating element named mimePart that contains each mime attachment.

mimeHeaders

complex

This element contains the mime header for each mimePart. Mime headers can contain the following information:

  • content-disposition — To suggest a filename for an attachment, use "*;filename=<filename>" in this element. Note: HTTP servers may alter or choose to ignore the suggested name.

  • content-type

  • content-transfer-encoding

  • content-id

  • other mime header information

For more information about MIME headers and their syntax, see http://www.faqs.org/rfcs/rfc2045.html.

Note: When the content type is specified as "text/*" (for example, "text/xml"), the attachment content is expected to be in either the textContent input element or the file name storing the attachment is expected to be in the fileName input element. When the content type is anything other than "text/*", the attachment content is expected to be in either the binaryContent input element or the file name storing the attachment is expected to be in the fileName input element.

binaryContent | textContent | fileName

choice

This element contains the mime attachment. The element can be one of the following:

  • binaryContent — content of the attachment when the attachment is binary data.

  • textConetnt — content of the attachment when the attachment is text data.

  • fileName — the file name of the attachment.