|
| Copyright © Cloud Software Group, Inc. All Rights Reserved |
Waits for an incoming HTTP request in a process definition. The process instance suspends until the incoming HTTP request is received.
See Scalability With Incoming Events in TIBCO ActiveMatrix BusinessWorks Process Design Guide for information on running the "Wait for..." activities in a multi-engine mode.
The HTTP Connection shared resource that describes the host name and the port number on which the process waits for the incoming message.See HTTP Connection for more information about specifying shared resources. Note: In the case of an incoming GET request, there is no message body, so this field has no effect on incoming GET requests. Note: Specifying parameters in this field parses the query string of the request into the output schema, regardless of whether the Parse Post Method Data field is checked. Checking the Parse Post Method Data field and specifying parameters here is required to parse the message body along with the query string of the request.
For example, you may have sent an HTTP request earlier in the process, and you may be waiting for a response from the HTTP server. You may specify a requestID as an attribute of the HTTP request and responseTo attribute on the Wait for HTTP request activity. The HTTP server presumably will set the responseTo attribute of its response to the same value as the requestID attribute of the request. You would then specify the responseTo attribute as the Candidate Event Key and the requestID attribute of the HTTP request as the "key" in the Input tab.This expression is specified in XPath, and only data from the incoming event is available for use in this XPath expression. See TIBCO ActiveMatrix BusinessWorks Process Design for more information about XPath expressions.
The Output Headers tab describes the data structure for the headers of the HTTP request. You can use the default structure, or you can alter the structure, if the incoming request has a specific data structure for the header of the request. This tab uses the same mechanism described Appendix A, Specifying Data Schema in to specify the data structure for the headers. See that section for more information about creating a customized data structure.See TIBCO ActiveMatrix BusinessWorks Process Design for more information about mapping and transforming input data.
The value that is compared to the Candidate Event Key field of the Event tab to determine if this message applies to this process. See Event for an example of using the Candidate Event Key field with the key input item.
See Special Characters in HTTP Requests for more information. "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 |