Did you specify a proxy on your viewer object? Btw, this is more of a GXP question than a GeoExt question, for which GIS stack exchange is the best place to ask.
Best regards, Bart -- Bart van den Eijnden Front-end Developer | Boundless @boundlessgeo On 05 Mar 2014, at 10:53, Pierre Marcel Anselme Lacroix <pierre.lacr...@unige.ch> wrote: > Hi, > > I am (still) using GeoExt 0.6 > > (1) In the groups of my layer tree I can display local WMS layers and OSM, > Bing, Google, Mapbox and Mapquest layers. > (2) I want to add WMS layers from distants geoserver but I cannot. > > (1) Here is what works (local layers): > > defaultSourceType: "gxp_wmssource", > sources: { > local: { > ptype: "gxp_wmscsource", > url: "/geoserver/wms", > version: "1.1.1" > }, > osm: { > ptype: "gxp_osmsource" > }, > bing: { > ptype: "gxp_bingsource" > }, > google: { > ptype: "gxp_googlesource" > }, > mapbox: { > ptype: "gxp_mapboxsource" > }, > mapquest: { > ptype: "gxp_mapquestsource" > } > } > > (2) Here is what does not work: > > defaultSourceType: "gxp_wmssource", > sources: { > local: { > ptype: "gxp_wmscsource", > url: "/geoserver/TWAP/wms", > version: "1.1.1" > }, > preview: { > ptype: "gxp_wmssource", > url: "http://preview.grid.unep.ch:8080/geoserver/preview/wms" > // I also tried other valid WMS endpoints e.g. NASA, FAO and others > }, > osm: { > ptype: "gxp_osmsource" > }, > bing: { > ptype: "gxp_bingsource" > }, > google: { > ptype: "gxp_googlesource" > }, > mapbox: { > ptype: "gxp_mapboxsource" > }, > mapquest: { > ptype: "gxp_mapquestsource" > } > } > > Any suggestion? > > Thanks for your reply. > > --------- > With best regards - Avec mes meilleures salutations, > Pierre Lacroix, PhD. > Scientific Collaborator - University of Geneva - Pole in Environmental > Sciences > GIS Analyst - United Nations Environment Programme - UNEP/DEWA/GRID-Geneva > http://www.unige.ch/envirospace > _______________________________________________ > Dev mailing list > Dev@geoext.org > http://www.geoext.org/cgi-bin/mailman/listinfo/dev
_______________________________________________ Dev mailing list Dev@geoext.org http://www.geoext.org/cgi-bin/mailman/listinfo/dev