Hi everybody.
I get an error when using OpenLayers.Controls.WMSGetFeatureInfo function
with a "cascaded" layer and a GML format.
I receive the follow error:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE
ServiceExceptionReport SYSTEM "
http://www.geoservicos.inde.gov.br:80/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd
"> <ServiceExceptionReport version="1.1.1" > <ServiceException>
error:Translator error
Translator error
FeatureReader allready produces contents with the correct schema
Details:
http://pastebin.com/LTxwAvU8
Full geoserver error log: http://pastebin.com/PqtEt0L8
My main server version is 2.1.1 and the "cascaded" layer is at another
Geoserver 2.1.1.
HTML format works fine and non cascaded layers too.
Here is the OpenLayers code:
var wmsFeatureInfo = new OpenLayers.Control.WMSGetFeatureInfo({
infoFormat: "application/vnd.ogc.gml",
url: "http://www.geoservicos.inde.gov.br/geoserver/wms",
map: mapa
});
I searched the error but could not find anything.
My guess is that the main geoserver is trying to format the already GML
output to GML and this throws an error.
This is my first time here in the users list, sorry if i broke any rule.
Is there any way to make this works? Is this fixed in the newer versions?
Thanks in advanced.
Diego Felipe Soares Pereira dos Santos
IBGE - Diretoria de Informática
Coordenação de Atendimento e Desenvolvimento de Sistemas - COADS
Gerência de Sistemas de Geociência - GESIG
Av. Chile, 500, 13º andar - Centro - Rio de Janeiro - RJ
Tel: (21) 2142-0618
email: [email protected]------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users