Available since 2020.01.

Imports data from  https://app.mvotma.gub.uy/dinaguaws/dinaguaws?wsdl.

When configuring the import for the first time, the certificate of the service needs to be added to the FEWS truststore. The certificate you can download here: 

client.cer

To add it to the truststore, use F12, convert, conver certificate file to clientConfig.keystore, like shown on the image. This has to be done only one time.



Configuration example:

The Dinagua service has different sources, including: DINAGUA, CTM, UTE. Different locations belong to different services. If data is required from different services, a seperate import should be configuredfor each source, as show below.

Connection timeout should be configured.

Please note, names of parameters may also vary per source.

<?xml version="1.0" encoding="UTF-8"?>
<timeSeriesImportRun 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/timeSeriesImportRun.xsd">
   <import>
      <general>
         <importType>UyDinagua</importType>
         <serverUrl>https://app.mvotma.gub.uy/dinaguaws/dinaguaws.dinaguawsHttpSoap11Endpoint/</serverUrl>
<!--         this field is not used, but it is necessary to be able to configure connection timout-->
         <backupServerUrl>url</backupServerUrl>
<!--         if this field is not configured, it will be set at 2000 automatically. -->
         <connectionTimeOutMillis>100000</connectionTimeOutMillis>
         <user>dummy_username</user>
         <password>dummy_password</password>
         <relativeViewPeriod unit="day" start="-3" end="0" startOverrulable="true" endOverrulable="true"/>
         <idMapId>UyDinaguaMap</idMapId>
      </general>
      <properties>
         <string key="Source" value="DINAGUA"></string>
      </properties>
      <timeSeriesSet>
         <moduleInstanceId>UyDinagua</moduleInstanceId>
         <valueType>scalar</valueType>
         <parameterId>parameter1</parameterId>
         <locationId>LocB</locationId>
         <timeSeriesType>external historical</timeSeriesType>
         <timeStep unit="nonequidistant"/>
         <readWriteMode>add originals</readWriteMode>
      </timeSeriesSet>
      <timeSeriesSet>
         <moduleInstanceId>UyDinagua</moduleInstanceId>
         <valueType>scalar</valueType>
         <parameterId>parameter2</parameterId>
         <locationId>LocB</locationId>
         <timeSeriesType>external historical</timeSeriesType>
         <timeStep unit="nonequidistant"/>
         <readWriteMode>add originals</readWriteMode>
      </timeSeriesSet>
   </import>
   <import>
      <general>
         <importType>UyDinagua</importType>
         <serverUrl>https://app.mvotma.gub.uy/dinaguaws/dinaguaws.dinaguawsHttpSoap11Endpoint/</serverUrl>
<!--         this field is not used, but it is necessary to be able to configure connection timout-->
         <backupServerUrl>url</backupServerUrl>
<!--         if this field is not configured, it will be set at 2000 automatically. -->
         <connectionTimeOutMillis>100000</connectionTimeOutMillis>
         <user>dummy_username</user>
         <password>dummy_password</password>
         <relativeViewPeriod unit="day" start="-3" end="0" startOverrulable="true" endOverrulable="true"/>
         <idMapId>UyDinaguaMap</idMapId>
      </general>
      <properties>
         <string key="Source" value="CTM"></string>
      </properties>
      <timeSeriesSet>
         <moduleInstanceId>UyDinagua</moduleInstanceId>
         <valueType>scalar</valueType>
         <parameterId>parameter1</parameterId>
         <locationSetId>CTMLocations</locationSetId>
         <timeSeriesType>external historical</timeSeriesType>
         <timeStep unit="nonequidistant"/>
         <readWriteMode>add originals</readWriteMode>
      </timeSeriesSet>
      <timeSeriesSet>
         <moduleInstanceId>UyDinagua</moduleInstanceId>
         <valueType>scalar</valueType>
         <parameterId>parameter2</parameterId>
         <locationSetId>CTMLocations</locationSetId>
         <timeSeriesType>external historical</timeSeriesType>
         <timeStep unit="nonequidistant"/>
         <readWriteMode>add originals</readWriteMode>
      </timeSeriesSet>
   </import>
</timeSeriesImportRun> 
  • No labels