[Zoo-discuss] http-Post requests

Farkas H farkas.dus at gmail.com
Wed Nov 28 09:38:46 PST 2012


Hi Gérald,

thank you for your answer.

I compiled zoo-kernel using the sources from today.
Unfortunately, the error still exists.
Please find an example Post-request here [1] and the response here [2].

Hope to hear from you.

Regards,
Farkas

[1]
<wps:Execute service="WPS" version="1.0.0"
xmlns:wps="http://www.opengis.net/wps/1.0.0"
xmlns:ows="http://www.opengis.net/ows/1.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wps/1.0.0
http://schemas.opengis.net/wps/1.0.0/wpsExecute_request.xsd">
<ows:Identifier>CentroidPy</ows:Identifier>
<wps:DataInputs>
<wps:Input>
<ows:Identifier>InputPolygon</ows:Identifier>
<ows:Title>Nutzung</ows:Title>
<wps:Reference xlink:href="http://localhost:8181/geoserver/wfs?Request=GetFeature&Service=WFS&Version=1.0.0&Typename=topp:tasmania_water_bodies"/>
</wps:Input>
</wps:DataInputs>
<wps:ResponseForm>
<wps:ResponseDocument storeExecuteResponse="true" status="true">
<wps:Output asReference="true">
<ows:Identifier>Result</ows:Identifier>
</wps:Output>
</wps:ResponseDocument>
</wps:ResponseForm>
</wps:Execute>

[2]
C:\OSGeo4W\bin>curl -H "content-type: text/xml" -d @M:\zooWPS\Requests\Post\Test
04.xml http://localhost/cgi-bin/zoo_loader.cgi
<?xml version="1.0" encoding="UTF-8"?>
<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xsi="http:
//www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink"
 xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://schemas.opengis.net/o
ws/1.1.0/owsExceptionReport.xsd" xml:lang="en-US" version="1.1.0">
  <ows:Exception exceptionCode="InternalError">
    <ows:ExceptionText>ZOO Kernel failed to process your request receiving signa
l 11 = SIGSEGV</ows:ExceptionText>
  </ows:Exception>
</ows:ExceptionReport>


On 23 November 2012 13:38, Gérald Fenoy <gerald.fenoy at geolabs.fr> wrote:
> Dear Farkas,
> sorry for late reply.
>
> The POST requests are supported on windows platforms too. Please can you try with the latest ZOO-Kernel source tree and libcgic to make sure that the issue was not fixed yet in the SVN source tree. In such a case I will have to update it.
>
> Hope to hear back from you,
> Best regards,
>
> Gérald Fenoy
> gerald.fenoy at geolabs.fr
>
> Le 14 nov. 2012 à 17:43, Farkas H <farkas.dus at gmail.com> a écrit :
>
>> Hello,
>>
>> I've tried to execute http-Post requests using the following command:
>> e.g.
>> curl -H "content-type: text/xml" -d @[file]
>> http://localhost/cgi-bin/zoo_loader.cgi
>>
>> The wps seems to execute meaning large processes require the same
>> processing time as via http-Get.
>> But I get the following error message:
>>
>> <ows:ExceptionText>ZOO Kernel failed to process your request
>>   receiving signal 11 = SIGSEGV</ows:ExceptionText>
>>
>> What am I doing wrong?
>>
>> I appreciate any advice.
>>
>> Regards,
>> Farkas
>> _______________________________________________
>> Zoo-discuss mailing list
>> Zoo-discuss at lists.osgeo.org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss
>


More information about the Zoo-discuss mailing list