<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Hi rldhont</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> Thanks for the reply. yes I am aware of the XML format. And thanks for the example also. But what I want is how to make the <EM><STRONG>WMS GetCapabilities</STRONG></EM> request from Java Script using the OL APIs. It will be very helpfult if someone could help me with a few lines of code..</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Thanks</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">ganesh<BR><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: rldhont <rldhont@gmail.com><BR>To: dev@openlayers.org<BR>Sent: Monday, 26 November, 2007 7:18:10 PM<BR>Subject: Re: [OpenLayers-Dev] WMS GetCapabilities Requst<BR><BR>You can use XML Format. Look at the source code of this example :<BR><A href="http://openlayers.org/dev/examples/xml.html" target=_blank>http://openlayers.org/dev/examples/xml.html</A><BR><BR>--------------------<BR>René-Luc D'Hont<BR>3Liz SARL<BR>blog: <A href="http://3liz.org/blog/rldhont" target=_blank>http://3liz.org/blog/rldhont</A><BR><BR>Ganesh Jothikumar a écrit :<BR>> Hi All<BR>> <BR>> I am using OpenLayers with GeoServer. I am using OpenLayers <BR>> JavaScript APIs to render the WMS layers present in GeoServer. Of the <BR>> layers I have one base layer and multiple overlays. Now I need to <BR>> specify
the bounding box values for the base map coverage layer in the <BR>> OpenLayers.WMS function (maxExtent : bounds ) For thst I need to get <BR>> the values from the GeoServer. After consulting the GeoServer guys I <BR>> came to know that I have to do a WMS GetCapabilities request and parse <BR>> the returned XML to get the BBox for my layer. What I want to know is <BR>> how to make a WMS GetCapabilities request using OpenLayers and parse <BR>> the returned XML. Any example would be highly useful. Or let me know <BR>> if there is any other way of solving this...<BR>> <BR>> Thanks in advance<BR>> ganesh<BR>> <BR>><BR>> ------------------------------------------------------------------------<BR>> Why delete messages? Unlimited storage is just a click away. <BR>> <<A href="http://in.rd.yahoo.com/tagline_mail_1/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/"
target=_blank>http://in.rd.yahoo.com/tagline_mail_1/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/</A>> <BR>><BR>> ------------------------------------------------------------------------<BR>><BR>> _______________________________________________<BR>> Dev mailing list<BR>> <A href="mailto:Dev@openlayers.org" ymailto="mailto:Dev@openlayers.org">Dev@openlayers.org</A><BR>> <A href="http://openlayers.org/mailman/listinfo/dev" target=_blank>http://openlayers.org/mailman/listinfo/dev</A><BR>> <BR><BR>_______________________________________________<BR>Dev mailing list<BR><A href="mailto:Dev@openlayers.org" ymailto="mailto:Dev@openlayers.org">Dev@openlayers.org</A><BR><A href="http://openlayers.org/mailman/listinfo/dev" target=_blank>http://openlayers.org/mailman/listinfo/dev</A><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></div><br>
<!--2--><hr size=1></hr> Bring your gang together - do your thing. <a href="http://in.rd.yahoo.com/tagline_groups_2/*http://in.promos.yahoo.com/groups"> Start your group.</a></body></html>