<br><br><div class="gmail_quote">2008/12/29 Christopher Schmidt <span dir="ltr">&lt;<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Mon, Dec 29, 2008 at 07:41:45PM +0100, Bart van den Eijnden (OSGIS) wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; see:<br>
&gt;<br>
&gt; <a href="http://faq.openlayers.org/proxyhost/all/" target="_blank">http://faq.openlayers.org/proxyhost/all/</a><br>
<br>
</div>Or even more directly:<br>
<br>
<a href="http://faq.openlayers.org/wfs/why-isnt-wfs-working-on-my-local-checkout-of-openlayers/" target="_blank">http://faq.openlayers.org/wfs/why-isnt-wfs-working-on-my-local-checkout-of-openlayers/</a><br>
<div><div></div><div class="Wj3C7c"><br>
&gt; Best regards,<br>
&gt; Bart<br>
&gt;<br>
&gt; Diego Ochoa Tocachi wrote:<br>
&gt; &gt; Hi list,<br>
&gt; &gt;<br>
&gt; &gt; I have this problem when I run the examples locally:<br>
&gt; &gt;<br>
&gt; &gt; -----<br>
&gt; &gt; (wfs-reprojection.html)<br>
&gt; &gt;<br>
&gt; &gt; uncaught exception: Access to restricted URI denied (NS_ERROR_DOM_BAD_URI)<br>
&gt; &gt; [Break on this error] this._object.open(sMethod, sUrl, bAsync, sUser,<br>
&gt; &gt; sPassword);<br>
&gt; &gt;<br>
&gt; &gt; XMLHttpRequest.js (ligne 177)<br>
&gt; &gt; -----<br>
&gt; &gt;<br>
&gt; &gt; The same error happens when I try to access other wfs server using<br>
&gt; &gt; gwt-openlayers<br>
&gt; &gt;<br>
&gt; &gt; I&#39;m trying to create WFS java classes as WMS java classes from that<br>
&gt; &gt; package:<br>
&gt; &gt;<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; WFSLayerParams wfsLayerParams = new WFSLayerParams();<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; wfsLayerParams.setProjection(&quot;EPSG:4326&quot;);<br>
&gt; &gt;<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; WFSParams wfsParams = new WFSParams();<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; wfsParams.setTypeName(&quot;idm:islas&quot;);<br>
&gt; &gt;<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; wfsLayer = new WFS(&quot;WMS Layer&quot;,<br>
&gt; &gt; &quot;<a href="http://www.geoportaligm.gov.ec/nacional/wfs" target="_blank">http://www.geoportaligm.gov.ec/nacional/wfs</a>&quot;, wfsParams, wfsLayerParams);<br>
&gt; &gt;<br>
&gt; &gt; I don&#39;t know if that&#39;s ok, I&#39;m newbie in openlayers :)<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Diego Ochoa - darkbalder<br>
&gt; &gt; email: <a href="mailto:diego.ochoat@gmail.com">diego.ochoat@gmail.com</a> &lt;mailto:<a href="mailto:diego.ochoat@gmail.com">diego.ochoat@gmail.com</a>&gt;<br>
&gt; &gt; Luis Pasteur 2-30 y Copernico<br>
&gt; &gt; Telf: +593 7 2451 388<br>
&gt; &gt; Fax: +593 7 2451 388<br>
&gt; &gt; Movil: 593 95359807<br>
&gt; &gt; Cuenca - Ecuador<br>
&gt; &gt; ------------------------------------------------------------------------<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Users mailing list<br>
&gt; &gt; <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
&gt; &gt; <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Bart van den Eijnden<br>
&gt; OSGIS, Open Source GIS<br>
&gt; <a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a><br>
&gt; <a href="http://www.osgis.nl" target="_blank">http://www.osgis.nl</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
&gt; <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
<br>
--<br>
</div></div><font color="#888888">Christopher Schmidt<br>
MetaCarta</font></blockquote><div>&nbsp;</div></div><br>Thanks for response, I solved my problem using this proxy: <a href="http://trac.openlayers.org/browser/sandbox/august/openlayers/openlayers-2.6/lib/OpenLayers/Util/proxy.jsp?rev=7801" target="_blank">http://trac.openlayers.org/browser/sandbox/august/openlayers/openlayers-2.6/lib/OpenLayers/Util/proxy.jsp?rev=7801</a><br>

<br>very useful!<br><br clear="all"><br>-- <br>Diego Ochoa - darkbalder<br>email: <a href="mailto:diego.ochoat@gmail.com">diego.ochoat@gmail.com</a><br>Luis Pasteur 2-30 y Copernico<br>Telf: +593 7 2451 388<br>Fax: +593 7 2451 388<br>
Movil: 593 95359807<br>Cuenca - Ecuador<br>