Re: [OpenLayers-Users] Requesting data problem

2010-04-18 Thread Antonio Santiago
Thanks a lot. On Sun, Apr 18, 2010 at 1:11 AM, Gabriel Nolasco nolasco_gabr...@yahoo.com.br wrote: Hi, You must install a proxy script to retrieve information from remote domains via an XMLHttpRequest. http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost Then you can use

[OpenLayers-Users] Requesting data problem

2010-04-17 Thread Antonio Santiago
Hi all, I want to get WMSGetCapabilites from server. The URL is http://labs.metacarta.com/wms/vmap0?request=GetCapabilitiesservice=WMS and works fine. But when I execute the next code the request never ends or returns me a empty response. Anybody can help me clarifiying me how to get wms

Re: [OpenLayers-Users] Requesting data problem

2010-04-17 Thread Gabriel Nolasco
Hi, You must install a proxy script to retrieve information from remote domains via an XMLHttpRequest. http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost Then you can use the class OpenLayers.Format.WMSCapabilities to parse the response like this: var capabilitiesRequest =