Versions Compared

Key

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

The FewsPiServiceSince 2022.02 a WebServices xml configuration file is supported (and replaces the deprecated FewsPiServices.properties file can be used to make service specific configurations available. This is a property file that is located in the FEWS configuration in the directory:

%REGION_HOME%/Config/PiClientConfigFiles/FewsPiService.properties

...

). 

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.

The XML file should comply to the following schema: https://fewsdocs.deltares.nl/schemas/version1.0/webServices.xsd

The following is an example of a web services configuration file in the Config folder: PiServiceConfigFiles/WebServices.xml.

Code Block
languagexml
titleWebServices.xml
<?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>