I all,

I have a problem with OpenLayers.Control.WMSGetFeatureInfo. It doesn't return informations from a layer created by OpenLayers.Layer.Vector, but it returns informations from layers created by OpenLayers.Layer.WMS. Is there a method to resolve this problem?

Code:

Code:
...
var querySt = String.format('/blabla/wfs?&request=GetFeature&typeName=punti_it&propertyName=nome,the_geom&outputFormat=GML2&Filter=<Filter><PropertyIsEqualTo><PropertyName>cod_it</PropertyName><Literal>{0}</Literal></PropertyIsEqualTo></Filter>', cod_it);
...
        layerSt = new OpenLayers.Layer.Vector("GMLIT", {
          strategies: [ new OpenLayers.Strategy.Fixed()],
          style:{pointRadius:5, fillColor:"yellow"},
          protocol: new OpenLayers.Protocol.HTTP({
            url: querySt,
            format: new OpenLayers.Format.GML(),
            formatOptions: {
              extractAttributes: true,
              extractStyles: false
            }
          })
        });
Thank you in advance...