2008/12/29 Christopher Schmidt <[email protected]> > On Mon, Dec 29, 2008 at 07:41:45PM +0100, Bart van den Eijnden (OSGIS) > wrote: > > Hi, > > > > see: > > > > http://faq.openlayers.org/proxyhost/all/ > > Or even more directly: > > > http://faq.openlayers.org/wfs/why-isnt-wfs-working-on-my-local-checkout-of-openlayers/ > > > Best regards, > > Bart > > > > Diego Ochoa Tocachi wrote: > > > Hi list, > > > > > > I have this problem when I run the examples locally: > > > > > > ----- > > > (wfs-reprojection.html) > > > > > > uncaught exception: Access to restricted URI denied > (NS_ERROR_DOM_BAD_URI) > > > [Break on this error] this._object.open(sMethod, sUrl, bAsync, sUser, > > > sPassword); > > > > > > XMLHttpRequest.js (ligne 177) > > > ----- > > > > > > The same error happens when I try to access other wfs server using > > > gwt-openlayers > > > > > > I'm trying to create WFS java classes as WMS java classes from that > > > package: > > > > > > WFSLayerParams wfsLayerParams = new WFSLayerParams(); > > > wfsLayerParams.setProjection("EPSG:4326"); > > > > > > WFSParams wfsParams = new WFSParams(); > > > wfsParams.setTypeName("idm:islas"); > > > > > > wfsLayer = new WFS("WMS Layer", > > > "http://www.geoportaligm.gov.ec/nacional/wfs", wfsParams, > wfsLayerParams); > > > > > > I don't know if that's ok, I'm newbie in openlayers :) > > > > > > > > > -- > > > Diego Ochoa - darkbalder > > > email: [email protected] <mailto:[email protected]> > > > Luis Pasteur 2-30 y Copernico > > > Telf: +593 7 2451 388 > > > Fax: +593 7 2451 388 > > > Movil: 593 95359807 > > > Cuenca - Ecuador > > > > ------------------------------------------------------------------------ > > > > > > _______________________________________________ > > > Users mailing list > > > [email protected] > > > http://openlayers.org/mailman/listinfo/users > > > > > > > > > -- > > Bart van den Eijnden > > OSGIS, Open Source GIS > > [email protected] > > http://www.osgis.nl > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://openlayers.org/mailman/listinfo/users > > -- > Christopher Schmidt > MetaCarta
Thanks for response, I solved my problem using this proxy: http://trac.openlayers.org/browser/sandbox/august/openlayers/openlayers-2.6/lib/OpenLayers/Util/proxy.jsp?rev=7801 very useful! -- Diego Ochoa - darkbalder email: [email protected] Luis Pasteur 2-30 y Copernico Telf: +593 7 2451 388 Fax: +593 7 2451 388 Movil: 593 95359807 Cuenca - Ecuador
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
