[OpenLayers-Users] Regarding setup of wfs layers in opelayers.
Eric Lemoine
Eric.Lemoine at camptocamp.com
Tue Mar 20 01:57:02 EDT 2007
On 3/20/07, Kanhaiya kale ( कન્હૈযা ਕਾளெ ) <kanhaiya.kale at gmail.com> wrote:
> Hi,
> Now i have shifted the openlayer and geoserver on same server.
> then also it is not showing me wfs layer. it is also not generating any js
> error.
> Sometimes it is giving me js error as "uncaught exception: security error:
> content at http://192.168.5.38/~dev/OL/pcmc/wfsdemo.php
> may not load data from
> http://dev.pcmc.org/geoserver/wfs/transaction ."
> what may be the reason can anybody help me ?
Geoserver probably listens on a different port than the web server
serving your OpenLayers app, so it may again be a cross-domain issue.
Try using a proxy as Christopher mentioned.
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com
More information about the Users
mailing list