[Pywps-devel] asynchronous process

Jachym Cepicky jachym.cepicky at gmail.com
Fri Jun 11 08:53:03 CEST 2010


Hi
NOTE: this works only on unix/python (no windows or jython)

try storeSupported && statusSupported = True (not literal "true")

j

Arnaud De Groof píše v Pá 04. 06. 2010 v 15:07 +0200:
> Hi,
> 
>  
> 
> I created an asynchronous process. 
> 
> I have tested with success the execute request in command line but I
> have encountered error when I have used the Webserver
> cgi-application. 
> 
> I configured the ResponseForm such as: 
> 
>  
> 
> <wps:ResponseForm>
> 
> <wps:ResponseDocument wps:lineage="false" storeExecuteResponse="true"
> status="true">
> 
>           <wps:Output wps:asReference="false">
> 
>             <ows:Identifier>output1</ows:Identifier>
> 
>           </wps:Output>
> 
>         </wps:ResponseDocument>
> 
> </wps:ResponseForm>
> 
>  
> 
> I specified in the process initialisation the following parameters:
> 
> # Process initialization
>         WPSProcess.__init__(self,
>             identifier = "test",
>             title="Test process",
>             abstract=""",
>             version = "1.0",
>             storeSupported = "true",
>             statusSupported = "true")
> 
>  
> 
> The response message indicates, the following exception:
> 
> <ExceptionReport version="1.0.0" xmlns="http://www.opengis.net/ows"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> 
>    <Exception exceptionCode="InvalidParameterValue" locator="status is
> true, but the process does not support status updates"/>
> 
> </ExceptionReport>
> 
>  
> 
>  
> 
> Thanks,
> 
>  
> 
> Arnaud
> 
>  
> 
>  
> 
> 
> 
> ______________________________________________________________________
> 
> E-MAIL DISCLAIMER
> 
> The present message may contain confidential and/or legally privileged
> information. If you are not the intended addressee and in case of a
> transmission error, please notify the sender immediately and destroy
> this E-mail. Disclosure, reproduction or distribution of this document
> and its possible attachments is strictly forbidden.
> 
> SPACEBEL denies all liability for incomplete, improper, inaccurate,
> intercepted, (partly) destroyed, lost and/or belated transmission of
> the current information given that unencrypted electronic transmission
> cannot currently be guaranteed to be secure or error free.
> Upon request or in conformity with formal, contractual agreements, an
> originally signed hard copy will be sent to you to confirm the
> information contained in this E-mail.
> 
> SPACEBEL denies all liability where E-mail is used for private use.
> 
> SPACEBEL cannot be held responsible for possible viruses that might
> corrupt this message and/or your computer system.
> 
> 
> ______________________________________________________________________
> 
> _______________________________________________
> Pywps-devel mailing list
> Pywps-devel at wald.intevation.org
> http://lists.wald.intevation.org/mailman/listinfo/pywps-devel

-- 
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
PGP Public key: http://les-ejk.cz/pgp/JachymCepicky.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
 =?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
 =?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.wald.intevation.org/pipermail/pywps-devel/attachments/20100611/730189b2/attachment.pgp


More information about the Pywps-devel mailing list