Versions Compared

Key

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

...

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 https://fewsdocs.deltares.nl/schemas/version1.0/webServices.xsd">
	<general>
		<filters>
			<filterId>myFilterId<<filterId>myFilterId1</filterId>
 			<filterId>myFilterId2</filterId> 
        </filters>
		<testPageEnabled>true</testPageEnabled>
 	<	<cardinalTimeStep unit="minute"/>
     </general>
</webServices>


It is recommended to apply various settings:

  • general - readonlyMode = false, which means that the webservice does not accept any put request to change or insert timeseries values.
  • general -cardinalTimestep of for example 1 or 5 minutes, which makes the webservice to update the status of the meta data and timeseries only with that interval instead of continuously, which reduces the CPU load on the server
  • piRestServices - timeZone = GMT. In older applications the timezone was set many times to the actual timezone of the normal explorer. However, this is in conflict with the ISO timezone handling and therefore not recommended. It is recommended to use the (default) GMT timezone, especially when using the WebOC!
  • wmsService - preloadCapabilities = true, for making response of WMS much faster
  • wmsService - wmsMaxNumberOfCachedLayers = 150 (default 100)

Multiple WebServices xml configurations

...