Versions Compared

Key

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

...

  • PI-XML REST Web Service: The PI-XML REST Service provides a REST based interface using the REST protocol.
  • PI-XML SOAP Web Service: The PI-XML SOAP Service can be accessed by the SOAP protocol.
  • WaterML Web Service: The WaterML2 Web Service can be accessed by the WaterML protocol.
  • Digitale Delta Web Service: The Digitale Delta Web Service can be accessed by the REST protocol.
  • Umaquo Web Service: The Umaquo Web Service can be accessed by the SOAP protocol.

Tomcat Installation

To install the The FEWS Web Services at least are supported on the Tomcat 7 and Tomcat 8 application server is required. See: https://tomcat.apache.org/download-70.cgi. The . and https://tomcat.apache.org/download-80.cgi The requirements of the Java version to be used for Tomcat is the same as for the FEWS version that is being used. It is strongly advised to use same Java JRE for tomcat as is used for a FEWS OC when installing tomcat.

...

 

Code Block
<?xml version="1.0" encoding="UTF-8"?>
<clientConfiguration 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/clientConfig.xsd">
	<clientType>Stand alone</clientType>
</clientConfiguration>

 

The only requirement for running the FewsWebServices is that a default filter is configured in FEWS. This can be done in two different ways:

Configure a default filter in the Filters.xml of the FEWS configuration with the name of the filter that should be used for all requested timeSeries: "${catalina.home}/fews/Region_Home/Config/RegionConfig/Filters.xml"

 

Code Block
<?xml version="1.0" encoding="UTF-8"?>
<filters version="1.1" 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/filters.xsd">
<defaultFilterId>All</defaultFilterId>
...

 

Alternatively a property file can be used to configure the default filter (and other properties as well). The property file should be located at: "${catalina.home}/fews/Region_Home/Config/PiClientConfigFiles/FewsPiService.properties". In the following code snippet the default filter to be used by the FEWS Web Services is configured using the property key "FILTER_ID" where the filter "All" has been configured. A filter configured in hte FewsPiService.properties overrules the default filter in the Filters.xml.

 

Code Block
FILTER_ID=All

 

N.B.: In version before FEWS 2017.02 it was possible to override the FewsPiService.properties with another name or location. This is no longer supported. Only one property file can be used for all services and the name is fixed to FewsPiService.properties.

If the previous configurations have been applied, the FewsWebServices.war can be installed using the standard deployment options of Tomcat. See the tomcat deployment documentation for more information. When installing a new version of the FewsWebServices.war file it is recommended to restart tomcat after deployment. 

 

Migrating from before 2017.02

...