afabiani / geoserver-enterprise

geoserver-enterprise
0 stars 0 forks source link

The download service GUI does not send down OGC filters #18

Open aaime opened 11 years ago

aaime commented 11 years ago

The filtering has been enabled in the GUI

image

and yet, the request sent down to GeoServer does not have any filter:

<wps:Execute xmlns:wps="http://www.opengis.net/wps/1.0.0" version="1.0.0" service="WPS" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">gs:ClusterManager</ows:Identifier><wps:DataInputs><wps:Input><ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">executionId</ows:Identifier><ows:Title xmlns:ows="http://www.opengis.net/ows/1.1">executionId</ows:Title><wps:Data><wps:LiteralData>8f31e3e3-3859-42bc-8efd-ceb623ab35c7</wps:LiteralData></wps:Data></wps:Input></wps:DataInputs><wps:ResponseForm><wps:RawDataOutput mimeType="application/json"><ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">result</ows:Identifier></wps:RawDataOutput></wps:ResponseForm></wps:Execute>
tdipisa commented 11 years ago

The provided XML represents the content body of a WPS request to the gs:ClusterManager. In this case only the ExecutionID is necessary. The OGC filter is present in WPS requests to the gs:Download process. For gs:Download WPS requests the XML is correct, with filter.

aaime commented 11 years ago

Sorry, pasted the wrong request. Yet, the output was not filtered.

Gnafu commented 11 years ago

Found the issue client-side, the filter had a mismatching type with the new server implementation. The client prepared a LiteralData, while the server was asking for a ComplexData.