On Mon, Jul 4, 2011 at 4:20 PM, Matthias Lendholt <
[email protected]> wrote:
> Interesting. Did you try dropping those processes in a GeoServer?
>> They might work out of the box in WPS if they are registered in SPI and
>> use simple enough arguments and return values (privitives, grid coverages,
>> feature collections)
>>
>
> Unfortunately :-) we are using complex parameters. The java types are
> generated with xmlbeans out of our xsds. And then it the problems start to
> get these parameters running in generic WPS frameworks... I've already
> tested/tried some frameworks but had not enough time to get it running.
> Currently we are using the processes as lib in other projects but the idea
> is to have them running as WPS.
>
If you want to have that running in the GeoServer WPS you have to build and
register PPIO objects
for your complex parameters.
It's not hard,I've done something similar for a XStream parameter binding,
you can have yours using
xmlbeans if you want:
http://svn.codehaus.org/geoserver/trunk/src/extension/wps/wps-core/src/main/java/org/geoserver/wps/ppio/XStreamPPIO.java
http://svn.codehaus.org/geoserver/trunk/src/extension/wps/wps-core/src/main/java/org/geoserver/wps/gs/AggregateProcessPPIO.java
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
-------------------------------------------------------
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel