Hi all,

I'm working on a python WPS script in geoserver. Therefore I use the 
following manual:

ref: 
http://docs.geoserver.org/latest/en/user/community/scripting/py/index.html

According to the manual I return my values like:
  return {
         'mykey1':myvalue1,
         'mykey2':myvalye2,
         'mykey3':myvalye3
     }

However, this is the error I get:
     ERROR [geoserver.wps] - Process execution failed
     org.geotools.process.ProcessException: 
java.lang.IllegalStateException: Process returned 1 values, should have 
returned 3

Aside from that, there is a warn on the Responsedocument:
     WARN [geoserver.wps] - cvc-complex-type.2.4.b: The content of 
element 'wps:ResponseDocument' is not complete. One of 
'{"http://www.opengis.net/wps/1.0.0":Output}' is expected.

Using only 1 output value it works correctly.
Does anyone have a clue?

Regards,
   Tom

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to