Transformation Services
Transformation Services include the following:
Authentication
SeeWeb Services Authentication.
Common Request Elements
WorkspacePublished Parameters
An FME published parameter defined in aworkspacecan be directly passed to a web service as a request parameter. When the web service submits a transformation job toFME Flow,FME Flowuses the value of the published parameter to run theworkspace.
Syntax
The published parameters can be provided to theworkspaceusing the HTTP POST or GET method. Assuming the GET method is used, then the syntax for the published parameter URL parameters is as follows:
http://hostname/
Example
Here is a URL to invoke the austinDownload.fmwworkspacethrough the data download service (note the URL parameters, such as COORDSYS and its value LL84):
http://hostname/fmedatadownload/Samples/austinDownload.fmw?COORDSYS=LL84&BBOX_COORDSYS=LL84
&FORMAT_GENERIC=SHAPE&MINX=-100&MINY=25&MAXX=-90&MAXY=35&THEMES=airports
The published parameters from the example above are discussed in the following table. You may also download the austinDownload.fmwworkspacefrom the Samples repository in order to see how the published parameters are configured in theworkspace.
Parameter name |
Parameter value |
Description |
---|---|---|
COORDSYS |
LL84 |
This is the Writer'sCoordinate Systemparameter (i.e. the output coordinate). |
BBOX_COORDSYS | LL84 | This is the Reader's搜索信封e Coordinate Systemparameter for the search envelope provided by the MIN*/MAX* published parameters, which collectively restrict the amount of data that is actually read by FME. Also, this published parameter is used to reproject the search envelope to match the source data's coordinate system in order to perform a hard clip within theworkspaceusing aClippertransformer. |
FORMAT_GENERIC | SHAPE | This is the Generic Writer'sOutput Formatparameter. |
MINX | -100 | This is the Reader's搜索信封最小Xparameter that will be used to select and clip data. This published parameter is used by both the Reader and aClippertransformer in order to restrict the amount of data that is read and then to hard clip the data respectively. |
MINY | 25 | This is the Reader's搜索信封e Min Yparameter. See MINX for further details. |
MAXX | -90 | This is the Reader's搜索信封e Max Xparameter. See MINX for further details. |
MAXY | 35 | This is the Reader's搜索信封e Max Yparameter. See MINX for further details. |
THEMES | airport | This is the Reader'sFeature Types to Readparameter. |
Web Services-Specific Job Directives
SeeJob Directivesfor details.
Supported FME Engine Directives
The following table provides information about the FME Engine directives.
Directive name |
Directive value |
Description |
---|---|---|
fme_LOG_FILENAME |
FME translation log file name. |
Specify the FME translation log file name instead of using the default file name. |