Hey, if you still have this problem. 

The solution is to specify the main process's output to:

> <wps:ResponseForm>
>     
> <wps:ResponseDocument storeExecuteResponse="true" status="true"
> lineage="false">
>         
> <wps:Output>
>             
> <ows:Identifier>
> result
> </ows:Identifier>
>         
> </wps:Output>
>     
> </wps:ResponseDocument>
> </wps:ResponseForm>
>  

This will return the "status" in form of:

> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <wps:ExecuteResponse xmlns:wps="http://www.opengis.net/wps/1.0.0";
> xmlns:ows="http://www.opengis.net/ows/1.1";
> xmlns:xlink="http://www.w3.org/1999/xlink"; service="WPS"
> serviceInstance="http://localhost:9090/geoserver/ows?";
> statusLocation="http://localhost:9090/geoserver/ows?service=WPS&amp;version=1.0.0&amp;request=GetExecutionStatus&amp;executionId=0877ac2a-5fbf-480f-9d4a-a8b8db4bab6b";
> version="1.0.0" xml:lang="en">
>     
> <wps:Process wps:processVersion="1.0.0">
>         
> <ows:Identifier>
> JTS:buffer
> </ows:Identifier>
>         
> <ows:Title>
> Buffer
> </ows:Title>
>         
> <ows:Abstract>
> Returns a polygonal geometry representing the input geometry enlarged by a
> given distance around its exterior.
> </ows:Abstract>
>     
> </wps:Process>
>     
> <wps:Status creationTime="...">
>         
> <wps:ProcessAccepted>
> Process accepted.
> </wps:ProcessAccepted>
>     
> </wps:Status>
> </wps:ExecuteResponse>
>  

Then you keep on checking the "statusLocation" until you get the results.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Asynchronous-WPS-in-GeoServer-tp5201190p5203935.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to