[Gvsig_english] WFS issue

Pablo Piqueras Bartolomé pablo.piqueras at iver.es
Mon Oct 29 13:35:45 CET 2007


Riccardo Sanna escribió:
> Hi,
>
> we are  gvSIG users, and we would like to report a problem when using 
> the following WFS service with this get capabilities:
>
> http://webgis.regione.sardegna.it/geoserver/wfs?service=WFS&request=GetCapabilities 
> <http://webgis.regione.sardegna.it/geoserver/wfs?service=WFS&request=GetCapabilities>
>
> We encountered a malfunctioning when trying to add some features 
> through connection to this WFS service. The error we get when adding 
> those features is the following:
>
> java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
>
> On the contrary, when connecting to this capability:
>
> http://webgis.regione.sardegna.it/geoserver/wfs 
> <http://webgis.regione.sardegna.it/geoserver/wfs>
>
> no problem occurs. Since we use the same capability within other GIS 
> programs, we believe this is a gvSIG issue, but we would like to have 
> your opinion on this.
>
> Thank you very much.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at runas.cap.gva.es
> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
>   
Hello Riccardo,

that problem happens because if you write the parameter 
"request=GetCapabilities 
<http://webgis.regione.sardegna.it/geoserver/wfs?service=WFS&request=GetCapabilities>" 
as a part of the URL of a "WFS" server when you're trying to load an 
"WFS" layer, that text is, as a last resort, repeated two times when is 
invoked the real server. Then the information obtained is an XML with 
the information of the "getCapabilities", not the needed schema, and 
then, the part of gvSIG in charge to load the information received fails.

For the moment, is better you don't write that parameter as you said.

Will try to fix that bug in next releases.


Thank you very much for your help with gvSIG.

Hope it would help.

-- 
Pablo Piqueras Bartolomé

Equipo de gvSIG
IVER TI S.A.
C/. Lérida, 20
46005 - Valencia (Spain)
www.iver.es
www.gvsig.com


Este mensaje y sus archivos son confidenciales. No está permitida su reproducción o distribución sin la autorización expresa de "IVER Tecnologías de la Información". Si usted no es el destinatario previsto, queda desautorizado cualquier uso, acceso o copia de este mensaje. Si ha recibido este mensaje por error, por favor bórrelo e infórmenos por esta misma vía.



More information about the Gvsig_internacional mailing list