[Zoo-discuss] [ZOO-Discuss] Exception when executing request samples

Gérald Fenoy gerald.fenoy at geolabs.fr
Wed Aug 8 01:06:09 PDT 2012


Hi Farkas,
the form [2] you used is an old HTML page which was used initially to
run POST requests over the ZOO-Kernel. You should not use it anymore.
Indeed if you take a deeper look of the request which is sent to the
ZOO-Kernel you can notice that we are using a non-standard way to pass
the POST XML request, we add a request parameter which is not standard
so which doesn't work anymore.

I think that the best way to test running POST requests is by using curl
from the command line, you can store your XML requests into local files,
let name the file temp_request.xml, then you can use the following
command:

curl -H "content-type: text/xml" -d @temp_request.xml
http://localhost/cgi-bin/zoo_loader.cgi

Note that we are using this kind of command in our test script [4].

Note that we can setup a new HTML form able to handle POST request in a
standard way if anybody in interrested in such a tool.

Hope to hear back from you,
Best regard,

[4] http://zoo-project.org/trac/browser/trunk/testing/run.sh

Le lundi 06 août 2012 à 21:03 +0200, Farkas H a écrit :
> Hi Gérald,
> 
> thank you for your quick response.
> 
> I followed the zoo-tutorial and copied the five execute requests
> provided here [1]
> "Synchronous call using asReference", ..., "RawDataOutput test"
> and pasted the requests in this html-form [2].
> 
> Since the wfs-server "http://dreal-official.geolabs.fr" seems to be
> down, I have also tried this wfs-reference [3].
> Hope to hear back from you.
> 
> Cheers,
> Farkas
> 
> [1]
> http://www.zoo-project.org/trac/wiki/ZOOWPSImplementationReport
> 
> [2]
> http://zoo-project.org/test_services.html
> 
> [3]
> http://demo.opengeo.org/geoserver/ows?SERVICE=WFS&REQUEST=GetFeature&VERSION=1.0.0&typename=topp:states&SRS=EPSG:4326&FeatureID=states.45
> 
> 
> On 6 August 2012 10:07, Gérald Fenoy <gerald.fenoy at geolabs.fr> wrote:
>         Dear Frakas,
>         I would like to ask you to subscribe to the new mailing hosted
>         by OSGeo [1] to continue this discussion.
>         
>         For the issue you're facing about using the test script it is
>         a bit difficult to answer without asking more informations.
>         First one should be : what is the server you are using to run
>         the test script ? Then what is the request(s) which failed.
>         
>         Hope to hear back from you on the zoo-discuss at list.osgeo.org,
>         Best regards,
>         
>         Gérald Fenoy
>         gerald.fenoy at geolabs.fr
>         
>         [1]
>         http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss
>         
>         Le 5 août 2012 à 19:41, Farkas H a écrit :
>         
>         > Hi list,
>         >
>         > I am newbie to zoo-wps and would appreciate your help.
>         >
>         > When I run the execute request samples from
>         http://www.zoo-project.org/trac/wiki/ZOOWPSImplementationReport I got the following exception:
>         > "Unenderstood <request> value. Please check that it was set
>         to GetCapabilities, DescribeProcess or Execute."
>         >
>         > Thanks for any advice.
>         >
>         > Cheers,
>         > Farkas
>         
>         > _______________________________________________
>         > Zoo-discuss mailing list
>         > Zoo-discuss at gisws.media.osaka-cu.ac.jp
>         >
>         http://gisws.media.osaka-cu.ac.jp/mailman/listinfo.cgi/zoo-discuss
>         
> _______________________________________________
> Zoo-discuss mailing list
> Zoo-discuss at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss

-- 
Gérald Fenoy <gerald.fenoy at geolabs.fr>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20120808/26836141/attachment.pgp>


More information about the Zoo-discuss mailing list