On Fri, Feb 15, 2013 at 6:46 AM, Matt Currie <[email protected]>wrote:
>
> Next I go to Demos > WPS request builder in the web admin, choose
> "gs:Count" process, select the "sf:roads" feature, and click Execute. The
> response is:
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <wps:ExecuteResponse xml:lang="en" service="WPS" serviceInstance="
> http://localhost:8080/geoserver/ows?" version="1.0.0" 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"><wps:Process
> wps:processVersion="1.0.0"><ows:Identifier>gs:Count</ows:Identifier><ows:Title>Count
> Features</ows:Title><ows:Abstract>Computes the number of features in a
> feature collection.</ows:Abstract></wps:Process><wps:Status
> creationTime="2013-02-15T05:06:49.101Z"><wps:ProcessFailed><ows:ExceptionReport
> version="1.1.0"><ows:Exception exceptionCode="NoApplicableCode"
>
> <ows:ExceptionText>Process failed during execution
>
>
> Process execution ef1514b7-25b1-477f-a277-5fffe63c2fc5 failed
>
> Failed to retrieve value for input features
>
> Could not locate {http://www.openplans.org/spearfish}roads in
> catalog.</ows:ExceptionText></ows:Exception></ows:ExceptionReport></wps:ProcessFailed></wps:Status></wps:ExecuteResponse>
>
This error is normal, and intended to happen, if you are issuing the
request with an
anonymous user.
However, if you are using a authenticated user instead, it should work...
but it
may be that it does not due to the fact every WPS request runs in a separate
thread (other than the one which initiated the request),
which makes it lose the autentication thread locals
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users