WPS icon indicating copy to clipboard operation
WPS copied to clipboard

New input data type - URL reference to a XML file (WPS4R)

Open jirikadlec2 opened this issue 9 years ago • 0 comments

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&amp;variable=CHMI-H:TEPLOTA&amp;startDate=2015-06-01&amp;endDate=2015-08-03&amp;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)

jirikadlec2 avatar Aug 04 '15 21:08 jirikadlec2