On Tue, Jul 26, 2011 at 11:20 AM, Arnaud Vandecasteele <[email protected]> wrote: > Thank you Justin for the examples. I understand better how GeoServer > works with WPS.
This is Andrea ;-) > But I've got (again) a question. How can create/publish the xml file > as a WPS service and how the user can use the WPS capabilities of > GeoServer ? I think it's obvious but I didn't understand how to do > that. The xml file is a Execute request, not a process definition, does not make sense to deploy it. > I tried a curl request but I only got an error answer : > curl -X POST -d containsStates.xml > http://myGeoServer:8080/geoserver/ows?service=WPS&version=1.0.0&request=Execute Ah, there are errors in the way you setup the request. Do it like this: curl -XPOST -H 'Content-type: text/xml' -d @/tmp/containsStates.xml http://localhost:8080/geoserver/wps In my case I get back "true" > Also, do you know where I could find the python extension for geoserver 2.1.1 > ? > I found this URL [1] but iot's for the GeoServer 2.2 and there is no > python extension in the 2.1 folder. I'll leave Justin to answer this one. Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
