General

It is possible to import data from another Delft-FEWS application through it's pi web service. It might also be the case that another application uses the same API and hosts a web service in PI format (like AquaView). The importmodule connects to other PI Service through SOAP.

Since the PI service does not support gridded data, only scalars are supported.

Configuration options

Optional configuration properties are:

  • verboseLogging (boolean), which sets all debug messages to info level
  • filterId (string), where the requesting system can identify to the PI service the wanted filterId.
  • clientId (string), where the requesting system can identify itself at the PI service
  • convertDatum (boolean)
  • useDisplayUnits (boolean)
  • DebugFolderDatePattern (date-time pattern), used in the filenames which are used for backing up de messages. Only relevant in case RequestsOutputDirectory is set.


Prior to FEWS version 2021.02 the import connects to the SOAP webservice. Starting with 2021.02, data is accessed through the REST service and the configured url should reflect that.

Example REST url:

http://localhost:8181/FewsWebServices/rest/fewspiservice/v1/




Configuration example

Import example
<import>
    <general>
        <importType>pi_server</importType>
        <serverUrl>$AQUAVIEW_WEBSERVICE_WSDL_URL$</serverUrl>
        <connectionTimeOutMillis>5000</connectionTimeOutMillis>
        <relativeViewPeriod unit="minute" start="-30" end="0" startOverrulable="true" endOverrulable="false"/>
        <idMapId>IdWABIS</idMapId>
        <dataFeedId>WABIS</dataFeedId>
    </general>
    <properties>
        <bool key="verboseLogging" value="false"/>
        <string key="RequestsOutputDirectory" value="$IMPORT_BACKUP_FOLDER$/Wabis"/>
        <string key="clientId" value="FEWS_AWK_RTC"/>
    </properties>
    <timeSeriesSet>
        <moduleInstanceId>ImportWABIS</moduleInstanceId>
        <valueType>scalar</valueType>
        <parameterId>H.meting</parameterId>
        <locationSetId>WABIS_H.meting</locationSetId>
        <timeSeriesType>external historical</timeSeriesType>
        <timeStep unit="nonequidistant"/>
        <readWriteMode>add originals</readWriteMode>
    </timeSeriesSet>
</import>
  • No labels