You need a proxy script to retrieve data from a remote server OpenLayers.ProxyHost = "proxy.cgi?url=";
The online example doesn't need to use a proxy script, because it gets the data from the same server. Arnd -----Ursprüngliche Nachricht----- Von: openlayers-users-boun...@lists.osgeo.org [mailto:openlayers-users-boun...@lists.osgeo.org] Im Auftrag von dkar Gesendet: Montag, 24. Juni 2013 10:35 An: openlayers-users@lists.osgeo.org Betreff: [OpenLayers-Users] Trying to make a SOS example to work Hi, I am trying to run this example: http://ows.terrestris.de/examples/ol-sos-layer.html <http://ows.terrestris.de/examples/ol-sos-layer.html> in my localhost but I get this error: *TypeError: this.SOSCapabilities.contents is undefined for (var name in this.SOSCapabilities.contents.offeringList) {* Can someone help me? Thanks Dimitris -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Trying-to-make-a-SOS-example-to-work-tp5 061838.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users _______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users