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 <
[email protected]> 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 [[email protected]]
> *Sent:* Thursday, April 12, 2012 2:43 PM
> *To:* Neelima Emmani
> *Cc:* [email protected]
> *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 <
> [email protected]> 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
>> [email protected]
>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>>
>>
>
>
>  --
> I.R
>



-- 
I.R
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to