This service accepts and carries out transformation requests as specified by a workspace, returning the results as a data stream.
Note: You must install this service if you are also installing the KML Network Link service.
Data Streaming service requests are made as either URL or form requests. For example:
http://<host>/fmedatastreaming/<repository>/<workspace>.fmw?<parameters>
The resulting dataset is one file only. After the translation has finished, this dataset is streamed with the appropriate content-type (mime-type) over HTTP back to the client making the request. For example, a web browser or Google Earth are clients that could make the request.
Service Specific Request Parameters
Name |
Value |
Description |
---|---|---|
opt_responseformat |
xml | json |
Defines the language of the response. The text must be all lowercase. |
opt_geturl | The URL to a dataset | The URL of the source dataset to be used for transformation |
opt_showresult | true | false | It indicates whether the XML/JSON responses from these three services include the FME transformation result. The default value is true if this parameter is not present. |
This web service can receive data and override source dataset via HTTP POST. The content of the POST request body will be saved to a temporary file which will be used as the Reader dataset of the workspace. If there is more than one reader in the workspace, then you will need to indicate which reader will use the temporary file. You indicate your choice when publishing the workspace by editing the service registration.
This web service can receive data and override Reader dataset via HTTP GET. The dataset should be specified as a URL and passed to service by 'opt_geturl' parameter. Both HTTP and FTP URLs are supported. If there is more than one reader in the workspace, then you will need to indicate which reader will use the temporary file. You indicate your choice when publishing the workspace by editing the service registration.
For example here is a service request that uses a remote KMZ dataset:
If the response format is specified as XML or JSON, a service failure response may contain the elements shown in the following table.
Element |
Child Elements |
Value |
Description |
---|---|---|---|
statusInfo |
message |
message string |
service failure message |
status |
success | failure |
service status |
|
fmeTransformationResult |
fmeServerResponse |
FME Server response properties |
FME Server response |
fmeEngineResponse |
FME Engine response properties |
FME Engine response |
See Also