Ciao,
dal messaggio restituito sembra che l’xml della richiesta sia errato in quanto presenta un carattere inatteso.
Se, come credo, hai provato ad utilizzare il WPS-client di Qgis credo di aver trovato il problema.
Con fiddler mi sono sniffato la richiesta ed ho trovato uno spazio mancante nella sezione dei dati di input dove si specifica l’encoding :
…
ows:TitleInputData</ows:Title>
wps:Data
<wps:ComplexData mimeType=“text/xml; subtype=gml/3.1.1” schema=“http://schemas.opengis.net/gml/3.1.1/base/gml.xs**d"e**ncoding="utf-8”><![CDATA[<ogr:FeatureCollection
…
credo che il problema sia dovuto a questo.
Ciao,
Giuseppe Corrarello.
2015-09-25 12:36 GMT+02:00 Paolo Cavallini <cavallini@faunalia.it>:
Salve.
<?xml version='1.0' encoding='UTF-8'?>
Cerco per l’ennesima volta di usare il servizio WPS del PCN, ma non ho
felicita’. Qualcuno ci e’ mai riuscito? Sapete che si possa parlare con
qualcuno per debuggarlo?
Sono l’unico che vorrebbe vederlo funzonante?
Saluti, e grazie.<wps:ProcessDescriptions xmlns:wps=“http://www.opengis.net/wps/1.0.0”
xmlns:ows=“http://www.opengis.net/ows/1.1”
xmlns:ogc=“http://www.opengis.net/ogc”
xmlns:xlink=“http://www.w3.org/1999/xlink”
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” service=“WPS”
version=“1.0.0” xml:lang=“en”
xsi:schemaLocation=“http://www.opengis.net/wps/1.0.0
http://schemas.opengis.net/wps/1.0.0/wpsDescribeProcess_response.xsd”>
ows:IdentifierTransformCoordinates</ows:Identifier>
ows:TitleServizio di Trasformazione di Coordinate - WCTS</ows:Title>
ows:AbstractIl servizio di trasformazione di coordinate (WCTS, Web
Coordinate Transformation Service) è uno dei servizi di trasformazione
geometrica previsti dall’implementazione della direttiva 2007/2/CE
INSPIRE. Il servizio, messo a disposizione dal Geoportale Nazionale,
consente a tutti gli utenti di eseguire trasformazioni di coordinate
sull’intero territorio italiano impiegando i grigliati rilasciati
dall’Istituto Geografico Militare Italiano – IGM. Il servizio è basato
sul documento “Draft Technical Guidance for INSPIRE Coordinate
Transformation Services” versione 2.0 rilasciato il
07-09-2009.</ows:Abstract>wps:Profileurn:ogc:wps:1.0.0:INSPIRE:TransformCoordinates:1.0</wps:Profile>
ows:IdentifierSourceCRS</ows:Identifier>
ows:TitleSistema di riferimento in ingresso</ows:Title>
ows:AbstractIndicazioni sul sistema di riferimento dei dati da
trasformare.</ows:Abstract>
<ows:DataType
ows:reference=“http://www.w3.org/TR/xmlschema-2/#anyURI”>anyURI</ows:DataType>
ows:AllowedValues
ows:ValueED50</ows:Value>
ows:ValueED50 / UTM zona 32N</ows:Value>
ows:ValueED50 / UTM zona 33N</ows:Value>
ows:ValueETRS89-ETRF2000</ows:Value>
ows:ValueETRS89-ETRF2000 / UTM zona 32N</ows:Value>
ows:ValueETRS89-ETRF2000 / UTM zona 33N</ows:Value>
ows:ValueETRS89-ETRF89</ows:Value>
ows:ValueETRS89-ETRF89 / UTM zona 32N</ows:Value>
ows:ValueETRS89-ETRF89 / UTM zona 33N</ows:Value>
ows:ValueRoma 1940</ows:Value>
ows:ValueRoma 1940 / Italia zona 1</ows:Value>
ows:ValueRoma 1940 / Italia zona 2</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:3003</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:3004</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:4230</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:4258</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:4265</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:4326</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:23032</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:23033</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:25832</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:25833</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:32632</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:32633</ows:Value>
</ows:AllowedValues>
urn:ogc:def:crs:EPSG:6.12:4258
ows:IdentifierTargetCRS</ows:Identifier>
ows:TitleSistema di riferimento in uscita</ows:Title>
ows:AbstractIndicazioni sul sistema di riferimento dei dati
trasformati.</ows:Abstract>
<ows:DataType
ows:reference=“http://www.w3.org/TR/xmlschema-2/#anyURI”>anyURI</ows:DataType>
ows:AllowedValues
ows:ValueED50</ows:Value>
ows:ValueED50 / UTM zona 32N</ows:Value>
ows:ValueED50 / UTM zona 33N</ows:Value>
ows:ValueETRS89-ETRF2000</ows:Value>
ows:ValueETRS89-ETRF2000 / UTM zona 32N</ows:Value>
ows:ValueETRS89-ETRF2000 / UTM zona 33N</ows:Value>
ows:ValueETRS89-ETRF89</ows:Value>
ows:ValueETRS89-ETRF89 / UTM zona 32N</ows:Value>
ows:ValueETRS89-ETRF89 / UTM zona 33N</ows:Value>
ows:ValueRoma 1940</ows:Value>
ows:ValueRoma 1940 / Italia zona 1</ows:Value>
ows:ValueRoma 1940 / Italia zona 2</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:3003</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:3004</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:4230</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:4258</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:4265</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:4326</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:23032</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:23033</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:25832</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:25833</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:32632</ows:Value>
ows:Valueurn:ogc:def:crs:EPSG:6.12:32633</ows:Value>
</ows:AllowedValues>
urn:ogc:def:crs:EPSG:6.12:4258
ows:IdentifierTestTransformation</ows:Identifier>
ows:TitleModo dell’operazione</ows:Title>
ows:AbstractIndicazione sulla modalità di esecuzione
dell’operazione: se il parametro “TestTransformation” è impostato a
‘false’ è eseguita la trasformazione altrimenti, se il parametro è
impostato a ‘true’, l’operazione è solo testata.</ows:Abstract>
<ows:DataType
ows:reference=“http://www.w3.org/TR/xmlschema-2/#boolean”>boolean</ows:DataType>
ows:AllowedValues
ows:Valuetrue</ows:Value>
ows:Valuefalse</ows:Value>
</ows:AllowedValues>
false
ows:IdentifierInputData</ows:Identifier>
ows:TitleDataset in ingresso in formato GML</ows:Title>
ows:AbstractDataset in ingresso in formato GML conforme allo
standard OGC GML Simple Feature (SF).</ows:Abstract>
text/xml; subtype=gml/3.1.1
UTF-8http://schemas.opengis.net/gml/3.1.1/base/gml.xsd
text/xml; subtype=gml/3.1.1
UTF-8http://schemas.opengis.net/gml/3.1.1/base/gml.xsd
text/xml; subtype=gml/2.1.2
UTF-8http://schemas.opengis.net/gml/2.1.2/geometry.xsd
text/xml; subtype=gml/3.0.1
UTF-8http://schemas.opengis.net/gml/3.0.1/base/gml.xsd
text/xml; subtype=gml/3.2.1
UTF-8
http://schemas.opengis.net/gml/3.2.1/gml.xsd
ows:IdentifierTransformedData</ows:Identifier>
ows:TitleDataset trasformato</ows:Title>
ows:AbstractDati in formato GML rappresentanti il dataset
risultante dalla trasformazione.</ows:Abstract>
text/xml; subtype=gml/3.1.1
UTF-8http://schemas.opengis.net/gml/3.1.1/base/gml.xsd
text/xml; subtype=gml/3.1.1
UTF-8http://schemas.opengis.net/gml/3.1.1/base/gml.xsd
text/xml; subtype=gml/2.1.2
UTF-8http://schemas.opengis.net/gml/2.1.2/geometry.xsd
text/xml; subtype=gml/3.0.1
UTF-8http://schemas.opengis.net/gml/3.0.1/base/gml.xsd
<?xml version='1.0' encoding='UTF-8'?>
text/xml; subtype=gml/3.2.1
UTF-8
http://schemas.opengis.net/gml/3.2.1/gml.xsd
</wps:ProcessDescriptions>
Post URL=PyQt4.QtCore.QUrl(u’http://wms.pcn.minambiente.it/wps?')<ows:ExceptionReport xmlns:ows=“http://www.opengis.net/ows/1.1”
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”
xsi:schemaLocation=“http://www.opengis.net/ows/1.1
http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd”
version=“1.1.0”>
<ows:Exception exceptionCode=“InvalidRequest”>
ows:ExceptionTextcom.ctc.wstx.exc.WstxUnexpectedCharException:
Unexpected character ‘e’ (code 101) excepted space, or ‘>’ or “/>”
at [row,col,system-id]: [8,115,“HTTP Post request from
95.253.123.217:62606”]</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>–
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
Gfoss@lists.gfoss.it
http://lists.gfoss.it/cgi-bin/mailman/listinfo/gfoss
Questa e’ una lista di discussione pubblica aperta a tutti.
I messaggi di questa lista non hanno relazione diretta con le posizioni dell’Associazione GFOSS.it.
750 iscritti al 18.3.2015