Response Context

Response Context enables you to map data from the Set Context Activity to the response message.

Data Source

Displays the data source schema tree for the output context parameters. All elements in this tree are available to drag and drop into the XPath Expression field.

The following are the response message entities:

Elements of Set Context/ Response Message Description
Headers Headers of the response message.
  • pragma: This field is used to include implementation-specific directives that might apply to the receiver. See the HTTP specification for more information about using this field.
  • location: This field is used to redirect the receiver to a location other than the Request-URI for completion of the request or for identification of a new resource.
Dynamic Headers The dynamic header is an additional header parameter to add runtime headers to the outgoing HTTP messages. The DynamicHeaders consists of the following information:
  • Name: the name of the header
  • Value: the value of the header
Headers

The fields of the header specified on the Input Headers tab.

Undescribed Headers Undescribed headers of the response message.
mimeEnvelopeElement Information about the attachements that are present in the response message. Individual attachment information is populated under one mimepart element. All attachments are configured as SwA unbound attachments.
Note: If the attachment size increases the threshold value configured at the binding level, the file name of the serialized attachment will be populated.
mimeHeader

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
    See http://www.faqs.org/rfcs/rfc2045.html for more information about MIME headers and their syntax.

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

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.
  • textContent — content of the attachment when the attachment is text data.

Functions

Displays the available XPath functions. These are categorized into groups and each function can be dragged from the function list into the XPath Expression field.

When the function is placed into the XPath Expression, placeholders are displayed for the function’s parameters. You can drag and drop schema elements from the Data Source tab into the function’s placeholders.

Constants

Displays the constants available for use in XPath expressions. These are categorized into groups and each constant can be dragged from the constants list into the XPath Expression field. Constants are useful for inserting special characters, such as quotes, symbols, and so on, into XPath formulas. Constants are also defined for commonly used items, such as date/time formats.

XPath Expression

Displays the XPath formula you want to create. You can drag and drop items from the Data Source tab or the Functions tab to create the formula.