<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>I am attempting to connect to a remote MapServer( <a href="http://www.catastroloscabos.gob.mx/cgi-bin/mapserv.fcgi?map=/home/juribe/webcatastro/catastro.map&">http://www.catastroloscabos.gob.mx/cgi-bin/mapserv.fcgi?map=/home/juribe/webcatastro/catastro.map&</a> ) and retrieve the respective WMS layers.  However, I am unable to do so for some reason.</div><div><br></div><div><a href="http://loscabosproperties.mx/geoserver/wms.png">http://loscabosproperties.mx/geoserver/wms.png</a></div><div><br></div><div>I get the result in XML format, and the map is not displayed.</div><div><br></div><div>The remote MapServer server is located at:</div><div><a href="http://www.catastroloscabos.gob.mx/cgi-bin/mapserv.fcgi?map=/home/juribe/webcatastro/catastro.map&">http://www.catastroloscabos.gob.mx/cgi-bin/mapserv.fcgi?map=/home/juribe/webcatastro/catastro.map&</a></div><div><br></div><div>In my PHP/OpenLayers doc/code, i have this:</div><div><br></div><div><div>        var wmsUrl2 = "<a href="http://www.catastroloscabos.gob.mx/cgi-bin/mapserv.fcgi">http://www.catastroloscabos.gob.mx/cgi-bin/mapserv.fcgi</a>";</div><div>        var wms2 = new OpenLayers.Layer.WMS("WMS2",</div><div>            wmsUrl2,</div><div>            { map: '/home/juribe/webcatastro/catastro.map',</div><div>            //layers: 'p',</div><div>            //map_imagetype: 'jpg'</div><div>            SERVICE: 'WMS',</div><div>            VERSION: '1.1.1',</div><div>            REQUEST: 'GetCapabilities'</div><div>            },</div><div>            {singleTile: true, isBaseLayer: false});</div><div>        map.addLayer(wms2);</div></div><div><br></div><div>Any help would be appreciated.  Thanks!</div><div><br></div><div><a href="http://www.catastroloscabos.gob.mx/cgi-bin/mapserv.fcgi?map=/home/juribe/webcatastro/catastro.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetCapabilities"></a><br><div>
<span><img height="50" width="114" id="9dedacf6-bda2-4a66-bd7d-9d84c6cf2a26" apple-width="yes" apple-height="yes" src="cid:70F5EC75-DC88-45A9-82C0-43830E332823@lan"></span>
</div>
<br></div></body></html>