[Zoo-discuss] Changing behaviour for mandatory input
rakesh prithiviraj
rakeshuk at outlook.com
Mon May 30 09:08:00 PDT 2016
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?
regardsRakesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20160530/dab883f6/attachment.html>
More information about the Zoo-discuss
mailing list