Olá a todos, Estou a usar o PyWPS e preciso de passar como argumento a alguns processos uma referencia para um tema disponível por WFS. Para tal estou a construir um pedido POST em xml, como o que segue em baixo. Enviando este pedido estou a receber um "internal server error - 500". Imagino que seja um problema com o PyWPS mas não estou inteiramente certo que pedido estaja correcto, se alguém podes dar uma olhada agradecia.
Obrigado, Luís ################################### <?xml version="1.0" encoding="UTF-8"?> <wps:Execute service="WPS"version="1.0.0"language="en-CA" xmlns:wps="http://www.opengis.net/wps/1.0.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0/wpsExecute_request.xsd"> <ows:Identifier>bufferProcess</ows:Identifier> <wps:DataInputs> <wps:Input> <ows:Identifier>data</ows:Identifier> <wps:Reference mimeType="text/xml; subtype=wfs-collection/1.0" xlink:href="http://myServer/cgi-bin/mapserv?map=/path/to/file.map" method="POST"> <wps:Body> <wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" service="WFS" version="1.1.0" maxFeatures="1" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"> <wfs:Query xmlns:feature="http://myServer/cgi-bin/mapserv?map=/path/to/file.map" typeName="myLayer"> </wfs:Query> </wfs:GetFeature> </wps:Body> </wps:Reference> </wps:Input> <wps:Input> <ows:Identifier>size</ows:Identifier> <wps:Data> <wps:LiteralData>1</wps:LiteralData> </wps:Data> </wps:Input> </wps:DataInputs> <wps:ResponseForm> <wps:ResponseDocument lineage="true" storeExecuteResponse="true" status="true"> </wps:ResponseDocument> </wps:ResponseForm> </wps:Execute> _______________________________________________ Portugal mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/portugal
