<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2013/12/16 Mario Nuñez Jimenez <span dir="ltr"><<a href="mailto:mario.nunez@atos.net" target="_blank">mario.nunez@atos.net</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang="ES" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-US">Dear list,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">I am wondering why there are WFS that doesn’t need a proxy to work.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u></span></p></div></div></blockquote><div><br></div><div>it's not the WFS that needs the proxy, it's your browser that needs a proxy (and that needs to run on the origin of your webapplication); only if you manage to break the browser's security sandbox with regard to X-domain Http Request (XHR) you will not need a proxy.. (not recommended)<br>
</div><div><br></div><div>If you can get your WFS to produce json as a response format you may be able to use JSONP (and stay outside the XHR sandbox) in your application (you would probably need to re-write the controls that issue the WFS requests though).</div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div lang="ES" link="blue" vlink="purple"><div>
<p class="MsoNormal"><span lang="EN-US"> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">I tried in my openlayers web application:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><a href="http://demo.opengeo.org/geoserver/wfs" target="_blank">http://demo.opengeo.org/geoserver/wfs</a></span></p>
</div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div lang="ES" link="blue" vlink="purple">
<div><p class="MsoNormal"><span lang="EN-US"><u></u></span></p><p class="MsoNormal"><span lang="EN-US">And it works without having any proxy configuration, but to use services built by me with mapserver or geoserver I had to configure a python proxy to avoid cross domain issues.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u></span></p></div></div></blockquote><div><br></div><div>I doubt this is true; I think you will find that all the examples running on <a href="http://openlayers.org">openlayers.org</a> use the proxy at <a href="http://openlayers.org/dev/examples/proxy.cgi">http://openlayers.org/dev/examples/proxy.cgi</a> eg. <a href="http://openlayers.org/dev/examples/proxy.cgi?url=http%3A%2F%2Fdemo.opengeo.org%2Fgeoserver%2Fwfs">http://openlayers.org/dev/examples/proxy.cgi?url=http%3A%2F%2Fdemo.opengeo.org%2Fgeoserver%2Fwfs</a></div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div lang="ES" link="blue" vlink="purple"><div>
<p class="MsoNormal"><span lang="EN-US"> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">What is the difference between that service and mine?</span></p></div></div></blockquote><div><br></div><div>this hard to tell without your service.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div lang="ES" link="blue" vlink="purple"><div>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">How could I deploy a working proxy free WFS?</span></p></div></div></blockquote><div><br></div><div>host your WFS inside/as part of your webservice hosting your application (same base url)</div>
<div>eg: http//yourwebhost/webapp/ and http//yourwebhost/wfs/</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang="ES" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-US"><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Is that possible?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Any help will be much appreciated.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Thank you in advance.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Cheers,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><b><i><span lang="EN-US" style="font-size:10pt;font-family:'Times New Roman',serif;color:rgb(0,0,102)">Mario Núñez Jiménez<u></u><u></u></span></i></b></p>
<p class="MsoNormal"><i><span lang="EN-US" style="font-size:7.5pt;font-family:'Times New Roman',serif;color:rgb(0,0,102)">GEO Lab<br>Transport, Turism and Environment Sector<br>Public, Health and Transport Market<br>
AtoS Research & Innovation<br>C/ Albarracín, 25 - 28037 Madrid (Spain)<br><br>T <a href="tel:%2B34%20912148100" value="+34912148100" target="_blank">+34 912148100</a><br>F <a href="tel:%2B34%20917543252" value="+34917543252" target="_blank">+34 917543252</a><br>
</span></i><i><span style="font-size:7.5pt;font-family:'Times New Roman',serif;color:rgb(0,0,102)"><a href="mailto:mario.nunez@atos.net" target="_blank"><span lang="EN-US" style="color:blue">mario.nunez@atos.net</span></a></span></i><i><span style="font-size:7.5pt;font-family:'Times New Roman',serif;color:rgb(0,0,102)"> </span></i><i><span lang="EN-US" style="font-size:12pt;font-family:'Times New Roman',serif;color:rgb(0,0,153)"><u></u><u></u></span></i></p>
<p class="MsoNormal"><span lang="IT" style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:rgb(31,73,125)"><img border="0" width="128" height="37" alt="Description: Description: cid:image002.gif@01CCBF15.A5A76050"></span><span lang="IT" style="font-size:10pt;font-family:Verdana,sans-serif;color:rgb(31,73,125)"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(31,73,125)"><img border="0" width="128" height="3" alt="Description: Description: cid:image001.gif@01CCBF15.A5A76050"><img border="0" width="128" height="3" alt="Description: Description: cid:image001.gif@01CCBF15.A5A76050"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p></div><div> </div>------------------------------------------------------------------<br>This e-mail and the documents attached are confidential and intended <br>solely for the addressee; it may also be privileged. </div>
</blockquote><div><br></div><div>oops; this is no longer confidential..</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang="ES" link="blue" vlink="purple">If you receive <br>this e-mail in error, please notify the sender immediately and destroy it. <br>As its integrity cannot be secured on the Internet, the Atos <br>group liability cannot be triggered for the message content. Although <br>
the sender endeavours to maintain a computer virus-free network, <br>the sender does not warrant that this transmission is virus-free and <br>will not be liable for any damages resulting from any virus transmitted. <br><br>
Este mensaje y los ficheros adjuntos pueden contener informacion confidencial <br>destinada solamente a la(s) persona(s) mencionadas anteriormente <br>pueden estar protegidos por secreto profesional. <br>Si usted recibe este correo electronico por error, gracias por informar <br>
inmediatamente al remitente y destruir el mensaje. <br>Al no estar asegurada la integridad de este mensaje sobre la red, Atos <br>no se hace responsable por su contenido. Su contenido no constituye ningun <br>compromiso para el grupo Atos, salvo ratificacion escrita por ambas partes. <br>
Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor <br>no puede garantizar nada al respecto y no sera responsable de cualesquiera <br>danos que puedan resultar de una transmision de virus. <br>------------------------------------------------------------------</div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Disclaimer;<br>
This message is just a reflection of what I thought at the time of sending. The message may contain information that is not intended for you or that you don't understand.
</div></div>