Dear all,

I would like to have lists as a result of a WPS process. In the 
GeoserverProcess interface implementation, I have described it as the following:

@DescribeResults({
        @DescribeResult(name = "output1", description = "output list 1", 
type=List.class, meta = { "mimeTypes=text/xml" }),
        @DescribeResult(name = "output2", description = "output list 2", 
type=List.class, meta = { "mimeTypes=text/xml" })
})
public Map<String, Object> execute …..

However, I get an error with the output list type : Blacklisting process …… as 
the output …… of type interface java.util.List cannot be handled.

I notice that I get a similar error for a predefined process into Geoserver : 
Blacklisting process ras:RasterZonalStatistics2 as the output zonal statistics 
of type interface java.util.List cannot be handled

After looking on the internet, I don’t find any information about this error, 
then any help welcome.
I am using Geoserver 2.8.1 Tomcat installation. Is the list output type handled 
by this version ? If so, what is the correct way to define a process handling 
list as outputs ?
Otherwise, what is the best way to handle lists as output: definition of PPIO 
for java.util.List type ? Custom results type ?

Thanks in advance,
Fanny


Ce message et toutes les pièces jointes (ci-après le "message") sont établis à 
l’intention exclusive des destinataires désignés. Il contient des informations 
confidentielles et pouvant être protégé par le secret professionnel. Si vous 
recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et 
de détruire le message. Toute utilisation de ce message non conforme à sa 
destination, toute diffusion ou toute publication, totale ou partielle, est 
interdite, sauf autorisation expresse de l’émetteur. L'internet ne garantissant 
pas l'intégrité de ce message lors de son acheminement, Atos (et ses filiales) 
décline(nt) toute responsabilité au titre de son contenu. Bien que ce message 
ait fait l’objet d’un traitement anti-virus lors de son envoi, l’émetteur ne 
peut garantir l’absence totale de logiciels malveillants dans son contenu et ne 
pourrait être tenu pour responsable des dommages engendrés par la transmission 
de l’un d’eux.

This message and any attachments (the "message") are intended solely for the 
addressee(s). It contains confidential information, that may be privileged. If 
you receive this message in error, please notify the sender immediately and 
delete the message. Any use of the message in violation of its purpose, any 
dissemination or disclosure, either wholly or partially is strictly prohibited, 
unless it has been explicitly authorized by the sender. As its integrity cannot 
be secured on the internet, Atos and its subsidiaries decline any liability for 
the content of this message. Although the sender endeavors to maintain a 
computer virus-free network, the sender does not warrant that this transmission 
is virus-free and will not be liable for any damages resulting from any virus 
transmitted.
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to