WPS
WPS copied to clipboard
New input data type - URL reference to a XML file (WPS4R)
I would like to pass a WaterML (XML) input data URL to my process. The request would look like this:
<wps:DataInputs>
<wps:Input>
<ows:Identifier>url</ows:Identifier>
<wps:Reference xlink:href="http://hydrodata.info/chmi-h/cuahsi_1_1.asmx/GetValuesObject?location=CHMI-H:140&variable=CHMI-H:TEPLOTA&startDate=2015-06-01&endDate=2015-08-03&authToken=" mimeType="application/xml">
</wps:Reference>
</wps:Input>
</wps:DataInputs>
instead of mimeType="application/xml" (for any kind of xml file), it would be also good to support the mimeType="text/csv" (for csv files), mimeType="text/plain" (for custom text files), and mimeType="application/octet-stream" (for unknown or default mimeType)