I am trying to use the WPS with a wfs:GetFeature. Here is my call. <?xml version="1.0" encoding="UTF-8"?> <wps:Execute service='WPS' version='1.0.0' xmlns:wps='http://www.opengis.net/wps/1.0.0' xmlns:vagis="http://www.openroadsconsulting.com/vagis" xmlns:ows='http://www.opengis.net/ows/1.1' xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://geoserver.itc.nl:8080/wps/schemas/wps/1.0.0/wpsExecute_request.xsd"> <ows:Identifier>gs:Nearest</ows:Identifier> <wps:DataInputs> <wps:Input> <ows:Identifier>features</ows:Identifier> <wps:Reference schema="http://schemas.opengis.net/gml/2.1.2/feature.xsd" xlink:href="http://geoserver/wfs" method="POST"> <wps:Body> <wfs:GetFeature service="WFS" version="1.0.0" outputFormat="GML2" xmlns:vagis="http://www.openroadsconsulting.com/vagis" xmlns:wfs="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd"> <wfs:Query typeName="vagis:va_jurisdictions_ivr"> <ogc:Filter> <ogc:And> <ogc:PropertyIsNotEqualTo> <ogc:PropertyName>juris_type</ogc:PropertyName> <ogc:Literal>County</ogc:Literal> </ogc:PropertyIsNotEqualTo> <ogc:DWithin> <ogc:PropertyName>vagis:the_geom</ogc:PropertyName> <gml:Point> <gml:coordinates>-77.264998,37.405998</gml:coordinates> </gml:Point> <ogc:Distance units="deg">.3</ogc:Distance> </ogc:DWithin> </ogc:And> </ogc:Filter> </wfs:Query> </wfs:GetFeature> </wps:Body> </wps:Reference> </wps:Input> <wps:Input> <ows:Identifier>point</ows:Identifier> <wps:Data> <wps:LiteralData>-77.264998,37.405998</wps:LiteralData> </wps:Data> </wps:Input> </wps:DataInputs> <wps:ResponseForm> <wps:RawDataOutput mimeType="text/XML" schema="http://schemas.opengis.net/gml/2.1.2/feature.xsd"> <ows:Identifier>result</ows:Identifier> </wps:RawDataOutput> </wps:ResponseForm> </wps:Execute>
I am getting back this error: <?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:Nearest</ows:Identifier><ows:Title>Get nearest feature</ows:Title><ows:Abstract>Get nearest feature</ows:Abstract></wps:Process><wps:Status creationTime="2012-03-22T13:58:47.266Z"><wps:ProcessFailed><ows:ExceptionReport version="1.1.0"><ows:Exception exceptionCode="NoApplicableCode"><ows:ExceptionText>Process failed during execution Process execution a99baefb-de09-47dd-afa8-25199bd55f93 failed java.lang.NoSuchMethodError: org.geoserver.wfs.WebFeatureService.getFeature(Lnet/opengis/wfs/GetFeatureType;)Lnet/opengis/wfs/FeatureCollectionType; org.geoserver.wfs.WebFeatureService.getFeature(Lnet/opengis/wfs/GetFeatureType;)Lnet/opengis/wfs/FeatureCollectionType;</ows:ExceptionText></ows:Exception></ows:ExceptionReport></wps:ProcessFailed></wps:Status></wps:ExecuteResponse> Any ideas what might be wrong? David -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: drrobi...@openroadsconsulting.com web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526 This email communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. If you are not the intended recipient, please delete this email immediately. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users