Sorry for the delay of the answer but i wanted to follow everything of what you suggested, included the proxy setting for my webserver.
Everything seems to work fine:
I have this code in my map file:
var options = {
projection: new OpenLayers.Projection("EPSG:900913"),
//displayProjection: new OpenLayers.Projection("EPSG:32632"),
displayProjection: new OpenLayers.Projection("EPSG:23032"),
units: "m",
//maxResolution: 156543.0339,
maxResolution: 99.22366015624993,
maxExtent: new OpenLayers.Bounds(-20037508.34, -20037508.34, 20037508.34, 20037508.34)
};
...
var saveStrategy = new OpenLayers.Strategy.Save();
v1497_wfs = new OpenLayers.Layer.Vector("Editable Features", {
strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy],
//projection: new OpenLayers.Projection("EPSG:23032"),
protocol: new OpenLayers.Protocol.WFS({
version: "1.1.0",
//srsName: "EPSG:23032",
url: "http://localhost/geoserver/wfs",
featureNS : "http://www.opengeospatial.net/cite",
featureType: "v1497_db_wfs",
geometryName: "the_geom",
maxExtent: map.maxExtent.left + ',' + map.maxExtent.bottom,
schema: "http://localhost/geoserver/wfs/DescribeFeatureType?version=1.1.0&typename=cite:v1497_db_wfs"
})
});
map.addLayer(v1497_wfs);
v1497_wfs.setVisibility(true);
and if i try to navigate on the url:
http://localhost/geoserver/wfs/DescribeFeatureType?version=1.1.0&typename=cite:v1497_db_wfs
i have the following response from the browser:
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:abcweb="www.abcweb.it" xmlns:aset="http://www.aset.it" xmlns:castelli="http://www.guidacastelli.it" xmlns:cite="http://www.opengeospatial.net/cite" xmlns:gml="http://www.opengis.net/gml" xmlns:it.geosolutions="http://www.geo-solutions.it" xmlns:nurc="http://www.nurc.nato.int" xmlns:sde="http://geoserver.sf.net" xmlns:sf="http://www.openplans.org/spearfish" xmlns:sitap="http://localhost:8080/geoserver/wfs" xmlns:test_ws="http://test_ws" xmlns:tiger="http://www.census.gov" xmlns:topp="http://www.openplans.org/topp" elementFormDefault="qualified" targetNamespace="http://www.opengeospatial.net/cite">
<xsd:import namespace="http://www.opengis.net/gml" schemaLocation="http://localhost:80/geoserver/schemas/gml/3.1.1/base/gml.xsd"/>
<xsd:complexType name="v1497_db_wfsType">
<xsd:complexContent>
<xsd:extension base="gml:AbstractFeatureType">
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="codvr" nillable="true" type="xsd:decimal"/>
<xsd:element maxOccurs="1" minOccurs="0" name="uso" nillable="true" type="xsd:int"/>
<xsd:element maxOccurs="1" minOccurs="0" name="objectid" nillable="true" type="xsd:decimal"/>
<xsd:element maxOccurs="1" minOccurs="0" name="area__mq_" nillable="true" type="xsd:double"/>
<xsd:element maxOccurs="1" minOccurs="0" name="perim__m_" nillable="true" type="xsd:double"/>
<xsd:element maxOccurs="1" minOccurs="0" name="the_geom" nillable="true" type="gml:MultiSurfacePropertyType"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="v1497_db_wfs" substitutionGroup="gml:_Feature" type="cite:v1497_db_wfsType"/>
</xsd:schema>
But, even if i can see the checkbox in the layerswitcher, i can't see anything in the map.
any idea?