Introduction
Since 2022.02 a WebServices xml configuration file is supported (and replaces the deprecated FewsPiServices.properties file).
Configuration
The default file name is WebServices.xml and should be placed in the PiServiceConfigFiles folder of the Delft-FEWS Configuration. In a live system, the file has to be uploaded using the config manager.
...
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="utf-8"?> <webServices xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/webServices.xsd"> <general> <filterId>myFilterId</filterId> <testPageEnabled>true</testPageEnabled> </general> </webServices> |
Multiple WebServices xml configurations
It is also possible to use a different file than the default WebServices.xml. Additional files can be added to the PiServiceConfigFiles folder. To use another config file in the Delft-FEWS Web Services, a configuration file needs to be specified with the file to use.
Code Block |
---|
FEWS_WS_WEB_SERVICES_CONFIG_FILE_NAME=MyCustomWebService |