On Friday, November 19, 2010, Jason Woolard <[email protected]> wrote: > hi all, > > I saw a few posts in the archives related to this but I'm still unclear > about how get it working. Using the wms-capabilities I'm able generate a > grid of wms capabilities using an xml document saved locally: > > store = new GeoExt.data.WMSCapabilitiesStore({ > url: 'WMSServer.xml', > autoLoad: true > }); > > But I really want to retrieve a document from an external server. > Something like > > store = new GeoExt.data.WMSCapabilitiesStore({ > url: 'http://www.someWMSsomewhere......', > autoLoad: true > }); > > A post in the archives points to the same origin policy as the reason > for this and says a scripting proxy is needed but then I saw something > else that suggested I might not need one. Is that the issue here?
Most probably. If your web page isn't served from www.someWMSsomewhere then you'll face the Same Origin Policy issue and need a proxy. -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : [email protected] http://www.camptocamp.com _______________________________________________ Users mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users
