Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Workflow Runner component is started up by the client application (see Examples). This requires a configuration file that is an instance of the WebService.xsd.

  • port: This is the port number on which the FewsWebService will be hosted. This port must be accessible by the client application.
  • timeOutSeconds: This is the length of time that the FewsWebService will wait for the workflow to complete runnging.
  • inputPiTimeSeriesFile: This is the file from which the MC workflow run will read the input timeseries. When calling the FewsWebService API the timeseries passed as argument will be written to this file. This file must therefore match the file configured in the MC workflow.
  • outputPiTimeSeriesFile [1..>: These are the files to which the MC workflow will write the output timeseries. When calling the FewsWebService API the timeseries are read from the output files after the workflow run is completed. These timeseries are returned by the call. These files must therefore match the files configured in the MC workflow.
  • mcTaskWebService: This contains information that allows the FewsWebService to connect to a specific running instance of the McTaskWebService. Although this entry is optional it is required!

Example of a WebService xml file.

Example code

Anchor
Example FewsWebService
Example FewsWebService

...