Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
borderColor | #7da054 |
---|---|
titleColor | white |
titleBGColor | #7da054 |
borderStyle | solid |
title | Sections on this page |
The statement will be encoded using the charset parameter specified by the Content-Type Header if one is present. If no Content-Type Header is set then ISO-8859-1 will be used. If the Content-Type header is set, but does not specify a charset then PhixFlow will use a default character set dependant on the content type.
Send Message
Define details of the data that will be sent to the HTTP Datasource.
The URL to be used, without the leading http:// prefix. The URL may contain embedded expressions within { }. If this field is blank, the url field on the httpDatasourceInstance is used directly.
For Example, this expression adds to the base url provided by the HTTP Datasource Instance:
Note : internal variables are referenced via %USERNAME% %PASSWORD% syntax.
Expressions are enclosed in {}
Expression to evaluate the value to put on the stream. For example:
Code Block |
---|
if(_success, _response, listToString($errors._MSGTEXT)) |
Expression to evaluate the response from the HTTP datasource, where a connection was made. For example:
Code Block |
---|
countElements($errors = xmlToItems(_response,"//ERROR")) == 0 |
Value to put on the Stream in the event that the HTTP connection attempt failed. For example:
Code Block |
---|
_error |
Inputs
This section has a list of the HTTP Headers defined for this exporter.
Advanced
If a record in the input Stream is not exported, this attribute will be left blank.
The field is populated with result from "Check if the response indicates successful export" from the response tab. If a record is exported - but the export is rolled back - the attribute will be updated, and set back to a blank record.
Warning: if a record fails to export then this attribute will still be populated, even in the case that the export transaction in the target HTTP datasource is rolled back.
If a record in the input Stream is not exported, this attribute will be left blank.
The field is populated with result from "Result to record on the Stream" (and/or "Result to record on the Stream after a connection failure"). If a record is exported - but the export is rolled back - the attribute will be updated, and set back to a blank record.
Warning: if a record fails to export then this attribute will still be populated, even in the case that the export transaction in the target HTTP datasource is rolled back.
Tells the exporter to timeout each export operation after a number of seconds. If an export operation does time out, the operation will be abandoned and an error will be reported. Each record that is timed out is considered to be a single error when assessing whether the entire export should be stopped and/or rolled back - see Errors Before Rollback below.
If no value is specified, the duration of an export operation is unlimited.
Each datasource instance is identified by a unique string. This expression should evaluate to a string which allows the HTTP Exporter to determine the instance to use.
If no value is entered then the exporter will assume that there is only one instance and will use that one by default. If there is more than one instance and no expression is provided here then an error will be thrown during analysis.