[OpenLayers-Users] localhost to server errors

Imran Rajjad rajjad at gmail.com
Thu Apr 12 05:47:30 EDT 2012


WMS request should work fine, however, requesting GML(xml) data through WFS
request in cross domain scenario will not work, You need to use proxy or
switch to GeoJSON.


http://openlayers.org/dev/examples/cross-origin.html
http://openlayers.org/dev/examples/wfs-filter.html

regards,
Imran

On Thu, Apr 12, 2012 at 2:32 PM, Neelima Emmani <
neelima.emmani at iictechnologies.com> wrote:

>  Hi
>
> Thank you for the response. Yes, i am trying to retrieve layers through
> WMS and WFS.
>
> With Regards,
> Neelima Emmani
>   ------------------------------
> *From:* Imran Rajjad [rajjad at gmail.com]
> *Sent:* Thursday, April 12, 2012 2:43 PM
> *To:* Neelima Emmani
> *Cc:* openlayers-users at lists.osgeo.org
> *Subject:* Re: [OpenLayers-Users] localhost to server errors
>
>  Looks like a cross domain issue, are you using XML response type?
>
>  regards,
> Imran
>
> On Thu, Apr 12, 2012 at 1:33 PM, Neelima Emmani <
> neelima.emmani at iictechnologies.com> wrote:
>
>>  Hi All,
>>
>> I am working with openlayers, mapserver, postgis with Apache.
>> In my local system all my files are working well. But the same, when i am
>> trying to test in the server with IIS, it is giving me errors like
>> xmlhttprequest.js -- access is denied.
>>
>> Did anyone come across this problem. Please let me know, if i have to do
>> any thing.
>> With Regards,
>> Neelima Emmani
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>>
>>
>
>
>  --
> I.R
>



-- 
I.R
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120412/de2d9f6c/attachment.html


More information about the Users mailing list