Hi all, I have the following WPS request form: <?xml version="1.0" encoding="UTF-8"?> <wps:Execute version="1.0.0" service="WPS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.opengis.net/wps/1.0.0" xmlns:wfs="http://www.opengis.net/wfs" xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:wcs="http://www.opengis.net/wcs/1.1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd"> <ows:Identifier>gs:ListAttrValues</ows:Identifier> <wps:DataInputs> <wps:Input> <ows:Identifier>identifier</ows:Identifier> <wps:Data> <wps:LiteralData>site_type</wps:LiteralData> </wps:Data> </wps:Input> </wps:DataInputs> <wps:ResponseForm> <wps:RawDataOutput mimeType="application/json"> <ows:Identifier>output</ows:Identifier> </wps:RawDataOutput> </wps:ResponseForm> </wps:Execute>
Very simple and this works when I post this to my local GeoServer. However, I've tried to encode this into a GET request and keep seeing this error: <ows:ExceptionReport version="1.1.0" xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://cida-wiwsc-javadevp.er.usgs.gov:8081/NAWQA_Mapper_Geoserver/schemas/ows/1.1.0/owsAll.xsd" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ows:Exception exceptionCode="NoApplicableCode"> <ows:ExceptionText>An error occurred while encoding the results of the process Failed to get property: {http://www.opengis.net/gml}boundedBy null</ows:ExceptionText> </ows:Exception> </ows:ExceptionReport> An example of my GET request: http://localhost:8081/MyApplicationName/ows?service=wps&version=1.0.0&request=Execute&Identifier=gs:ListAttrValues&DataInputs=identifier=site_type&RawDataOutput=output=%40mimeType%3Dapplication%2Fjson Here is the DescribeProcess: <wps:ProcessDescriptions xml:lang="en" service="WPS" version="1.0.0" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd"> <ProcessDescription wps:processVersion="1.0.0" statusSupported="true" storeSupported="true"> <ows:Identifier>gs:ListAttrValues</ows:Identifier> <ows:Title>Lists all unique values for an attribute in a FeatureCollection</ows:Title> <ows:Abstract>Lists all unique values for an attribute in a FeatureCollection</ows:Abstract> <DataInputs> <Input maxOccurs="1" minOccurs="1"> <ows:Identifier>identifier</ows:Identifier> <ows:Title>identifier</ows:Title> <ows:Abstract/> <LiteralData> <ows:AnyValue/> </LiteralData> </Input> </DataInputs> <ProcessOutputs> <Output> <ows:Identifier>output</ows:Identifier> <ows:Title>output</ows:Title> <ComplexOutput> <Default> <Format> <MimeType>text/xml; subtype=wfs-collection/1.0</MimeType> </Format> </Default> <Supported> <Format> <MimeType>text/xml; subtype=wfs-collection/1.0</MimeType> </Format> <Format> <MimeType>text/xml; subtype=wfs-collection/1.1</MimeType> </Format> <Format> <MimeType>application/json</MimeType> </Format> <Format> <MimeType>application/wfs-collection-1.0</MimeType> </Format> <Format> <MimeType>application/wfs-collection-1.1</MimeType> </Format> <Format> <MimeType>application/zip</MimeType> </Format> </Supported> </ComplexOutput> </Output> </ProcessOutputs> </ProcessDescription> </wps:ProcessDescriptions> _____________________________________________ Ivan Suftin - Applications Developer - isuf...@usgs.gov Office: (608) 821-3825 - Cell : (608) 345-8963 Center for Integrated Data Analytics - http://cida.usgs.gov/ United States Geological Survey 8505 Research Way, Middleton, WI 53562 ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users