Hi list, I'm using this function "OpenLayers.loadURL(url, '', this,
setResponse, setResponse);" to make an getFeatureInfo on geoserver. my url
variable is:
"var url =  map.layers[2].getFullRequestString(
                        {
                                REQUEST: "GetFeatureInfo",
                                EXCEPTIONS: "application/vnd.ogc.se_xml",
                                BBOX: map.getExtent().toBBOX(),
                                X: e.xy.x,
                                Y: e.xy.y,
                                INFO_FORMAT: 'text/plain',
                                QUERY_LAYERS: map.layers[2].params.LAYERS,
                                FEATURE_COUNT: 1,
                                srs: 'EPSG:900913',
                                layers: 'layer',
                                styles: '',
                                WIDTH: map.size.w,
                                HEIGHT: map.size.h
                        },
"

The query returns an empty response (looking through firebug) but if I copy
che address in the browser bar, the response is ok.

Have you got any ideas?
Thanks in avdance.
Simone.
-- 
View this message in context: 
http://n2.nabble.com/OpenLayers.loadURL-not-working-tp3236300p3236300.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to