[OpenLayers-Users] Problem with wfs examples

Christopher Schmidt crschmidt at metacarta.com
Mon Dec 29 21:16:36 EST 2008


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: diego.ochoat at gmail.com <mailto:diego.ochoat at gmail.com>
> > Luis Pasteur 2-30 y Copernico
> > Telf: +593 7 2451 388
> > Fax: +593 7 2451 388
> > Movil: 593 95359807
> > Cuenca - Ecuador
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Users mailing list
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
> >   
> 
> 
> -- 
> Bart van den Eijnden
> OSGIS, Open Source GIS
> bartvde at osgis.nl
> http://www.osgis.nl
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users

-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list