Forms: HTTP Exporter
An HTTP Exporter exports data held in a Stream to a HTTP Datasource.
For an overview of how HTTP Exporters can be used when creating models, see Exporting Data to HTTP.
Form: HTTP Exporter Details
The HTTP Exporter form contains a number of tabs:
Field | Description |
---|---|
Details | The main details required for HTTP Exporter configuration. |
Send Message | Define details of the data that will be sent to the HTTP Datasource. |
HTTP Headers | Details of each HTTP Header defined for this exporter is configured in an HTTP Header form. |
Response | Define how the responses from the HTTP Datasource will be handled. |
Advanced | Advanced settings for HTTP Exporters. |
Description | A free text field for a description of the HTTP Exporter. |
Form Icons
The form provides the standard form icons.
...
The following fields are configured on the Details tab:
Field | Description |
---|---|
Name | Name of the HTTP Exporter. |
HTTP Data Source | The HTTP Datasource that this exporter will send data to. |
Record Export Time | If required, select an attribute from the input Stream from the drop down list. If an attribute is selected, when the exporter writes a message to the target location (HTTP datasource) the selected attribute in the input record will be updated with the export time. If a record in the input Stream is not exported, this attribute will be left blank. 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. |
Record Export Status | If required, select an attribute from the input Stream from the drop down list. If an attribute is selected, when the exporter writes a record to the target location (HTTP datasource) the selected attribute in the input record will be updated with the export status (success or fail). 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. |
Record Response | If required, select an attribute from the input Stream from the drop down list. If an attribute is selected, when the exporter writes a record to the target location (HTTP datasource) the selected attribute in the input record will be updated with any export error messages. 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. |
Enabled | Tick when the configuration is complete and the HTTP Exporter is ready to be used. |
...
The following fields are configured on the Send Message tab:
...
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 :
...
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
...
Note : internal variables are referenced via %USERNAME% %PASSWORD% syntax.
Expressions are enclosed in {}
...
The following fields are configured on the Response tab:
...
countElements($errors = xmlToItems(_response,"//ERROR")) == 0
...
...
...
_error
...
The following fields are configured on the Advanced tab:
...
See Also
...
...