[Pywps-dev] Passing a Json to WPS service

Jachym Cepicky jachym.cepicky at gmail.com
Fri Jun 3 13:29:50 PDT 2016


Just small note:

OGC OWS standards do not use REST interfaces - they just relay on simple
get/post requests.

About the guide: depends on your environemnt, you want to create the HTTP
POST requests in: javascript? python? bash? anything else?

J

pá 3. 6. 2016 v 20:16 odesílatel Lorenzo Bottaccioli <
lorenzo.bottaccioli at gmail.com> napsal:

> Hi Jachym,
>
> I think I have solved my problems. I'm quiete a newbie in REST calls in
> particular using POST calls. If you think could be help full I can try to
> make a simple guide with some basic exaple with POST calls for
> GetCapabilities DescribeProcess and for Execution calls. I still have some
> dubts on how to return results in POST Execution.
>
> Sorry for the spam in the list!
>
> Best,
> Lorenzo.
> Il 03 giu 2016 8:11 PM, "Jachym Cepicky" <jachym.cepicky at gmail.com> ha
> scritto:
>
>> Hi, I believe, I tried to answer you in previous mail
>>
>> po 30. 5. 2016 v 0:29 odesílatel Lorenzo Bottaccioli <
>> lorenzo.bottaccioli at gmail.com> napsal:
>>
>>> Hi List,
>>>
>>> I'm trying to pas a geoJson file to the area process of the demo of
>>> PYWPS4.
>>>
>>> The file is located in /home/lorenzo/prova.geojson but I have tried with
>>> this URL
>>>
>>>
>>> "localhost:5000/wps?service=WPS&request=execute&identifier=area&version=1.0.0&datainputs=layer=file///home/lorenzo/prova.geojson"
>>>
>>> but I get this error:
>>>
>>> <ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/1.1
>>> " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
>>> " xsi:schemaLocation="http://www.opengis.net/ows/1.1
>>>  ../../../ows/1.1.0/owsExceptionReport.xsd" version="1.0.0">
>>> <ows:Exception exceptionCode="NoApplicableCode" locator="">
>>> <ows:ExceptionText>Service error: near "collections": syntax
>>> error</ows:ExceptionText>
>>> </ows:Exception>
>>> </ows:ExceptionReport
>>>
>>>  Which is the correct way to do so?
>>>
>>> best
>>> _______________________________________________
>>> pywps-dev mailing list
>>> pywps-dev at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/pywps-dev
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pywps-dev/attachments/20160603/e1e1afc5/attachment.html>


More information about the pywps-dev mailing list