[Zoo-discuss] Changing behaviour for mandatory input

rakesh prithiviraj rakeshuk at outlook.com
Mon May 30 13:14:39 PDT 2016


Hi Gerald,
I checked out rev 765, compiled, installed ZOO kernel. But I still observe the same behaviour.
regardsRakesh



> Subject: Re: [Zoo-discuss] Changing behaviour for mandatory input
> From: gerald.fenoy at geolabs.fr
> Date: Mon, 30 May 2016 19:14:55 +0200
> CC: zoo-discuss at lists.osgeo.org
> To: rakeshuk at outlook.com
> 
> 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
> 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/zoo-discuss/attachments/20160530/8ed63c8e/attachment.html>


More information about the Zoo-discuss mailing list