|
| Copyright © Cloud Software Group, Inc. All Rights Reserved |
Sends a response to a previously received HTTP request. This activity is used in conjunction with the HTTP Receiver process starter or the Wait for HTTP Request activity.
The Input Headers tab describes the data structure for the headers of the HTTP response. You can use the default structure, or you can alter the structure, if the outgoing response has a specific data structure for the header of the request. This tab uses the same mechanism described Appendix A, Specifying Data Schema to specify the data structure for the headers. See that appendix for more information about creating a customized data structure.
This field indicates the media type of the entity body sent to the receiver. Media types are described in the HTTP specification. An example of the media type is text/html; charset=ISO-8850-4.By default this item is set to text/html. If you are using this activity and the Retrieve Resources activity to retrieve a WSDL file, you should set the type to text/xml when specifying values on the Input tab. See TIBCO ActiveMatrix BusinessWorks Process Design for more information about mapping and transforming input data.
Note: Only the first Send HTTP Response activity in a process definition can set the Headers element. If your process definition contains multiple Send HTTP Response activities, the headers are set by the first activity and this element is ignored for all subsequent activities. "The header [ headerName ] is defined as non-Repeating Header in Input Headers. This header cannot have multiple occurences in DynamicHeaders."
• 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.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. The Error Output tab lists the possible exceptions that can be thrown by this activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information about error codes and corrective action to take.
|
| Copyright © Cloud Software Group, Inc. All Rights Reserved |