[Users] Question about WMSCapabilities example

bartvde at osgis.nl bartvde at osgis.nl
Thu Nov 5 08:46:52 CET 2009


Hi,

it probably means the 0.6 build which you downloaded includes the
lib/overrides/override-ext-ajax.js file, which is an override to use
OpenLayers AJAX instead of ExtJS Ajax.

See:
http://www.geoext.org/lib/overrides/override-ext-ajax.html

Best regards,
Bart

> Hi GeoExt user,
>
> I am recently playing with the WMSCapabilities example in GeoExt release
> 0.6. The original example is using a local static XML (WMS capabilities
> file), which I was trying to switch to a really WMS GetCapabilities call
> to
> remote server. The interesting thing is that it won't work until I set the
> ProxyHost in OpenLayers to a servlet proxy page (e.g. OpenLayers.ProxyHost
> =
> "<proxy_url>";) I am a little confused here, does GeoExt rely on
> OpenLayers's Ajax library to send XHR request? Why it benefits from the
> OpenLayers.ProxyHost?
>
> Another thing I found is that if I switch to use the GeoExt from either
> trunk src or 0.6 src, the same call doesn't work even though I set the
> OpenLayers.ProxyHost. Can you anyone shed some light on it? Or what is
> GeoExt native way to configure a proxy to call remote WMS/WFS service?
>
> Thanks,
> Penny
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>




More information about the Users mailing list