<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Kristof,<div>the request you used should work properly if and only if you get a valid InputPolygon. Indeed in the request you  mentioned in your mail, I see a reference  to an old WFS server which is no more available. For getting a similar feature you should now use the following url :  <a href="http://dreal-official.geolabs.fr/mapjax/webservices/wfs/dreal_lr_general/?VERSION=1.1.0&service=WFS&request=GetFeature&typename=Znieff1&maxfeatures=1">http://dreal-official.geolabs.fr/mapjax/webservices/wfs/dreal_lr_general/?VERSION=1.1.0&service=WFS&request=GetFeature&typename=Znieff1&maxfeatures=1</a> . Nevertheless I suppose that your query is more general than using this datasource or an other, so the answer is yes you should be able to use your java client to request the ZOO Kernel.</div><div><br></div><div>Hope it helps,</div><div>best regards,</div><div><br></div><div><div>Le 19 août 2010 à 17:06, Kristof Lange a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi list,<br><br>I wonder if it is possible to send a simple buffer-request to the wps <br>server with my java post-client.<br>Something like this:<br><br>URL url = new URL(targetURL);<br>           URLConnection conn = url.openConnection();<br>           conn.setDoOutput(true);<br>           OutputStreamWriter wr = new <br>OutputStreamWriter(conn.getOutputStream());<br>           wr.write(payload);<br>     wr.flush()<br><br>where payload is this parsed xml-file:<br><br><?xml version="1.0" encoding="UTF-8"?><br><br><wps:Execute service="WPS" version="1.0.0" <br>xmlns:wps="<a href="http://www.opengis.net/wps/1.0.0">http://www.opengis.net/wps/1.0.0</a>" <br>xmlns:ows="<a href="http://www.opengis.net/ows/1.1">http://www.opengis.net/ows/1.1</a>" <br>xmlns:xlink="<a href="http://www.w3.org/1999/xlink">http://www.w3.org/1999/xlink</a>" <br>xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" <br>xsi:schemaLocation="<a href="http://www.opengis.net/wps/1.0.0">http://www.opengis.net/wps/1.0.0</a><br>../wpsExecute_request.xsd"><br>       <ows:Identifier>Buffer</ows:Identifier><br>       <wps:DataInputs><br>               <wps:Input><br>                       <ows:Identifier>InputPolygon</ows:Identifier><br>                       <ows:Title>Playground area</ows:Title><br>                       <wps:Reference <br>xlink:href="<a href="http://carto.languedoc-roussillon.ecologie.gouv.fr/webservices/wfs/diren_general/?VERSION=1.1.0&amp;service=WFS&amp;request=GetFeature&amp;typename=Znieff1&amp;maxfeatures=1">http://carto.languedoc-roussillon.ecologie.gouv.fr/webservices/wfs/diren_general/?VERSION=1.1.0&amp;service=WFS&amp;request=GetFeature&amp;typename=Znieff1&amp;maxfeatures=1</a>"/> <br><br>               </wps:Input><br>               <wps:Input><br>                       <ows:Identifier>BufferDistance</ows:Identifier><br>                       <ows:Title>Distance which people will walk to get <br>to a playground.</ows:Title><br>                       <wps:Data><br>                               <wps:LiteralData>400</wps:LiteralData><br>                       </wps:Data><br>               </wps:Input><br>       </wps:DataInputs><br>       <wps:ResponseForm><br>               <wps:ResponseDocument><br>                       <ows:Identifier>BufferedPolygon</ows:Identifier><br>               </wps:ResponseDocument><br>       </wps:ResponseForm><br></wps:Execute><br><br><br><br>this is the endpoint I am using: <a href="http://zoo-project.org/zoosoo/">http://zoo-project.org/zoosoo/</a><br>Thanks for help<br><br>Kristof Lange<br>_______________________________________________<br>Zoo-discuss mailing list<br><a href="mailto:Zoo-discuss@gisws.media.osaka-cu.ac.jp">Zoo-discuss@gisws.media.osaka-cu.ac.jp</a><br>http://gisws.media.osaka-cu.ac.jp/mailman/listinfo/zoo-discuss<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><span class="Apple-style-span" style="font-size: 12px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Gérald Fenoy</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="mailto:gerald.fenoy@geolabs.fr"><span class="Apple-style-span" style="color: rgb(0, 0, 238); -webkit-text-decorations-in-effect: underline; ">gerald.fenoy@geolabs.fr</span></a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">GEOLABS</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Siège social :</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Futur Building I</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">1280, avenue des Platanes</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">34970 Lattes</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Tél. fixe : 04 67 53 67 37</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Tél. portable : 06 70 08 25 39</div></span></div></span>
</div>
<br></body></html>