<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Nicolas,<br>
<br>
Thanks for the answer. So, this means there's something wrong
with my execute XML, then. Please, let me know if I got this
straight:<br>
<br>
The process I'm trying is: Boundary. See its description:
<a class="moz-txt-link-freetext" href="http://zoo-project.org/cgi-bin-new1/zoo_loader.cgi?SERVICE=WPS&VERSION=1.0.0&REQUEST=DescribeProcess&IDENTIFIER=Boundary">http://zoo-project.org/cgi-bin-new1/zoo_loader.cgi?SERVICE=WPS&VERSION=1.0.0&REQUEST=DescribeProcess&IDENTIFIER=Boundary</a><br>
<br>
So, the only input it supports is : "InputPolygon", which support
the 'text/xml' MimeType. The Reference node I use in my execute
query looks like this:<br>
<br>
<pre><wps:Reference mimeType="text/xml; subtype=wfs-collection/1.1" xlink:href=<a class="moz-txt-link-rfc2396E" href="http://dev8.mapgears.com/cgi-bin/tinyows-trunk">"http://dev8.mapgears.com/cgi-bin/tinyows-trunk"</a> method="POST"></pre>
<br>
So, basically the mimeType seems okay, right ? I tried adding the
Header node before the Body, but I still get the same error: "Unable
to parse Input Polygon". I don't have much knowledge of this, so
I'm pretty much trying/guessing things...<br>
<br>
Does this process support a WFS GetFeature request as input ? If
it does, do you have more hints why my request doesn't work ?<br>
<br>
<br>
Thank you very much,<br>
<br>
Alexandre<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 14-08-29 09:42 AM, nicolas bozon
wrote:<br>
</div>
<blockquote
cite="mid:CA+FFBY_TCz4FtZK9uMsWZH5C9AGZhWGVRHKqSqB5BXTn3ze7sg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hi Alexandre,</div>
<div><br>
</div>
<div>Yes, POST is supported. Here is an example, with header and
body specified:</div>
<div><a moz-do-not-send="true"
href="https://github.com/WPS-Benchmarking/cptesting/blob/master/requests/irb2_o.xml">https://github.com/WPS-Benchmarking/cptesting/blob/master/requests/irb2_o.xml</a></div>
<div>(Please have a look from line 7 to 11)</div>
<div><br>
</div>
<div>Hope it helps. </div>
<div>Best,</div>
<div><br>
</div>
<div>Nick</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-08-27 15:22 GMT+02:00 Alexandre
Dubé <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:adube@mapgears.com" target="_blank">adube@mapgears.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hi list,<br>
<br>
<h4>In summary</h4>
<p> Does Zoo support wps:Reference node using
method="POST" ?<br>
<br>
</p>
<h4>Details</h4>
<p> It will be easier to explain using examples. See the
attached files. Using curl, you can easily execute the
requests and see the first one working (method=GET) and
the other doesn't (method=POST). The latter seems to be
correctly set (the XML seems okay). So I'm not sure
where the problem <br>
is. Does Zoo support wps:Reference node using
method="POST" or is there something wrong with my XML
definition ?</p>
<p><br>
GET:<br>
</p>
<pre>curl -X POST -d @execute-wfs5-get-custom.xml <a moz-do-not-send="true" href="http://zoo-project.org/cgi-bin-new1/zoo_loader.cgi" target="_blank">http://zoo-project.org/cgi-bin-new1/zoo_loader.cgi</a> --header "Content-Type:text/xml"</pre>
<p><br>
</p>
<p>POST:<br>
</p>
<pre>curl -X POST -d @execute-wfs4-post-custom.xml <a moz-do-not-send="true" href="http://zoo-project.org/cgi-bin-new1/zoo_loader.cgi" target="_blank">http://zoo-project.org/cgi-bin-new1/zoo_loader.cgi</a> --header "Content-Type:text/xml"
</pre>
<p><br>
</p>
<p>Any hint ?<span class="HOEnZb"><font color="#888888"><br>
</font></span></p>
<span class="HOEnZb"><font color="#888888">
<p><br>
</p>
<pre cols="72">--
Alexandre Dubé
T: <a moz-do-not-send="true" href="tel:%2B1%20418-696-5056%20%23203" value="+14186965056" target="_blank">+1 418-696-5056 #203</a>
<a moz-do-not-send="true" href="http://www.mapgears.com/" target="_blank">http://www.mapgears.com/</a></pre>
</font></span></div>
<br>
_______________________________________________<br>
Zoo-discuss mailing list<br>
<a moz-do-not-send="true"
href="mailto:Zoo-discuss@lists.osgeo.org">Zoo-discuss@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss"
target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Alexandre Dubé
T: +1 418-696-5056 #203
<a class="moz-txt-link-freetext" href="http://www.mapgears.com/">http://www.mapgears.com/</a></pre>
</body>
</html>