hello all,
By using code below, i can easily access features from geoserver installed at localhost, but when i installed geoserver at remote server (93.158.63.12), then it does't work. why? how can i fix this problem?
wfs = new OpenLayers.Layer.Vector("Results", {
strategies: [new OpenLayers.Strategy.BBOX()],
protocol: new OpenLayers.Protocol.WFS({
url: "http://localhost:8080/geoserver/wfs",
featureType: "NEW_ALL",
featureNS: "http://www.openplans.org/TestSpace",
srsName: "EPSG:900913",
version: "1.1.0",
extractAttributes: true,
isBaseLayer: false,
visibility: true
}),
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/GeoServer-does-not-return-features-if-installed-remotely-tp6166442p6166442.html">GeoServer does not return features if installed remotely</a><br/>
Sent from the <a href="http://osgeo-org.1803224.n2.nabble.com/OpenLayers-Users-f1822463.html">OpenLayers Users mailing list archive</a> at Nabble.com.<br/>