[Zoo-discuss] Changing behaviour for mandatory input

Fenoy Gerald gerald.fenoy at geolabs.fr
Mon May 30 10:14:55 PDT 2016


Hi,
thanks for your feedbacks.

It should be considerate as a bug indeed. Please can you try the same scenario using the revision 765 please ?

I hope to hear back from you and this new revision solves your issue.

Best regards,

> Le 30 mai 2016 à 18:08, rakesh prithiviraj <rakeshuk at outlook.com> a écrit :
> 
> Hi,
> 
> If the WPS execute request does not contain mandatory input(s), then the response of the ZOO-Kernel depends on the mode of execution: async or sync.
> 
> For example: DataInputs section of myService.zcfg contains 2 inputs called "i1" and "i2" each of which has minOccurs field set to 1.
> 
> If my WPS execute request mode is set to sync (mode="sync") and if I miss to specify input i2, then I get the following exception as WPS execute response
> 
>  <ows:ExceptionText>The <i2> argument was not specified in DataInputs but is required according to the ZOO ServicesProvider configuration file.</ows:ExceptionText>
> 
> But if I change the mode to async ( mode="async") and  if I miss to specify input i2, then I do not get any exception but following responses:
> 
> 1. <wps:StatusInfo>
> <wps:JobID>7f4bfe7a-2680-11e6-9741-005056011a8c</wps:JobID>
>     <wps:Status>Accepted</wps:Status>
> 
> 2. <wps:GetResult
>         <ows:ExceptionText>The result for the requested JobID has not yet been generated. </ows:ExceptionText>
> 
> 3.     <wps:JobID>7f4bfe7a-2680-11e6-9741-005056011a8c</wps:JobID>
>     <wps:Status>Running</wps:Status>
> 
> 
> Is this a possible bug?
> 
> 
> regards
> Rakesh
> 
> _______________________________________________
> Zoo-discuss mailing list
> Zoo-discuss at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/zoo-discuss



Gérald Fenoy
http://wiki.osgeo.org/wiki/User:Djay



More information about the Zoo-discuss mailing list