[ZOO-Discuss] ZOO testing

Gérald Fenoy gerald.fenoy at geolabs.fr
Tue Mar 22 18:43:43 PDT 2011


James,
as I said before and after checking twice, I confirm that XML POST requests are supported 
even if some corrections should be done for correctly parse Body content... 

Nevertheless, ZOO-Kernel never suppose that your POST request is using the following
header : "Content-Type: text/xml" or anything else. If you request the WFS server pointed in 
the thread without setting header it also failed. To make the WFS POST request working using
ZOO-Kernel you should add the following node in your Reference one :
    <wps:Header key="Content-Type" value="text/xml" />

This way the header will be set correctly and the Geometry would be fetched and then 
processed properly.

You can use the demo.sh file to query BufferPy service from the ZOO-Project official server.

Maybe we are wrong dealing with POST request this way, in this case please let me know.

Hope to hear from you,
Best,



Le 22 mars 2011 à 06:38, James.Sewell at lisasoft.com a écrit :

> Does ZOO support XML POST requests (as opposed to KVP requests) to a WFS server? Something like the example given in the second post inthis thread. I have not been able to get it to work in my installation or in your demo installation, although I presume it must be supported. An example or a link to an example would be nice if possible!

Gérald Fenoy
gerald.fenoy at geolabs.fr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20110323/3bcba189/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demo.sh
Type: application/octet-stream
Size: 2670 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20110323/3bcba189/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20110323/3bcba189/attachment-0001.html>


More information about the Zoo-discuss mailing list