<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Gerald,<div><br></div><div>I checked out rev 765, compiled, installed ZOO kernel. But I still observe the same behaviour.</div><div><br></div><div>regards</div><div>Rakesh</div><div><br></div><div><br></div><div><br></div><div><br><div>> Subject: Re: [Zoo-discuss] Changing behaviour for mandatory input<br>> From: gerald.fenoy@geolabs.fr<br>> Date: Mon, 30 May 2016 19:14:55 +0200<br>> CC: zoo-discuss@lists.osgeo.org<br>> To: rakeshuk@outlook.com<br>> <br>> Hi,<br>> thanks for your feedbacks.<br>> <br>> It should be considerate as a bug indeed. Please can you try the same scenario using the revision 765 please ?<br>> <br>> I hope to hear back from you and this new revision solves your issue.<br>> <br>> Best regards,<br>> <br>> > Le 30 mai 2016 à 18:08, rakesh prithiviraj <rakeshuk@outlook.com> a écrit :<br>> > <br>> > Hi,<br>> > <br>> > 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.<br>> > <br>> > For example: DataInputs section of myService.zcfg contains 2 inputs called "i1" and "i2" each of which has minOccurs field set to 1.<br>> > <br>> > 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<br>> > <br>> >  <ows:ExceptionText>The &lt;i2&gt; argument was not specified in DataInputs but is required according to the ZOO ServicesProvider configuration file.</ows:ExceptionText><br>> > <br>> > 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:<br>> > <br>> > 1. <wps:StatusInfo><br>> > <wps:JobID>7f4bfe7a-2680-11e6-9741-005056011a8c</wps:JobID><br>> >     <wps:Status>Accepted</wps:Status><br>> > <br>> > 2. <wps:GetResult<br>> >         <ows:ExceptionText>The result for the requested JobID has not yet been generated. </ows:ExceptionText><br>> > <br>> > 3.     <wps:JobID>7f4bfe7a-2680-11e6-9741-005056011a8c</wps:JobID><br>> >     <wps:Status>Running</wps:Status><br>> > <br>> > <br>> > Is this a possible bug?<br>> > <br>> > <br>> > regards<br>> > Rakesh<br>> > <br>> > _______________________________________________<br>> > Zoo-discuss mailing list<br>> > Zoo-discuss@lists.osgeo.org<br>> > http://lists.osgeo.org/mailman/listinfo/zoo-discuss<br>> <br>> <br>> <br>> Gérald Fenoy<br>> http://wiki.osgeo.org/wiki/User:Djay<br>> <br></div></div>                                    </div></body>
</html>