You are here: Reference Manual > FME Server Web Services > Transformation Services > Data Streaming Service > Examples

Examples

Example 1

A Data Streaming service failure response in XML format

Request

http://localhost/fmedatastreaming/Samples/austinApartments.fmw?opt_responseformat=xml

Response

<?xml version="1.0" encoding="ISO-8859-1" ?>

<serviceResponse>

<!-- Service Status Info -->

<statusInfo>

<status>failure</status>

<message> FME Server Transformation Error.</message>

</statusInfo>

<fmeTransformationResult>

<fmeEngineResponse>...</fmeEngineResponse>

<fmeServerResponse>...</fmeServerResponse>

</fmeTransformationResult>

</serviceResponse>

Example 2

A Data Streaming service failure response in JSON format

Request

http://localhost:/fmedatastreaming/Samples/austinApartments.fmw?opt_responseformat=json

Response

{"serviceResponse": {

"fmeTransformationResult": {

"fmeEngineResponse": {

...

},

"fmeServerResponse": {

...

},

"statusInfo": {

"message": "FME Server Transformation Error.",

"status": "failure"

}

}}

See Also