<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi. I'm trying to make a GetCapabilities request to a server, using a couple of examples that I found in OpenLayers documentation. <br><br>In the first case I tried something like this:<br><br>var url = map.getFullRequestString({<br><div style="margin-left: 120px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REQUEST: "Getcapabilities"},<br></div><div style="margin-left: 80px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "http://192.168.1.5:9090/smms/wms.php"); //URL of the server<br></div>&nbsp;OpenLayers.loadURL(url, '', this, setHTML);<br><br>but I get a error message saying that function getFullRequestString doesn't exists.<br><br>In my second try, I used this code:<br><pre class="wiki">this.request = OpenLayers.Request.GET({<br>    url: "http://192.168.1.5:9090/smms/wms.php",<br>    success: function(response)
 {<br>        var XMLformat = new OpenLayers.Format.XML();<br>        xml = XMLformat.read(response.responseText);<br>        <br>        var CAPformat = new OpenLayers.Format.WMSCapabilities();<br>        capabilities = CAPformat.read(xml);<br>        <br>        window.console.log(capabilities);<br>    }<br>});<br><br>But I get the error related to the proxy:<br><br><span class="objectBox objectBox-errorMessage hasTwisty hasBreakSwitch">Access to restricted URI denied"  code: "1012"<br><br>Now I'm out of ideas, I don't know how to capture the GetCapabilities request. <br>Thanks for any help, I'll appreciate it.<br></span></pre><br><br></td></tr></table><br>






      <hr size=1><br><font face="Verdana" size="-2">ˇObtén la mejor experiencia en la web!<br>Descarga gratis el nuevo Internet Explorer 8<br>
http://downloads.yahoo.com/ieak8/?l=e1</font>