Can't Use WMSLayer - TypeError: this.extent is undefined

Discussion created by avargas8776 on Oct 8, 2012
Latest reply on Oct 10, 2012 by avargas8776
I am using ArcGIS API for Javascript 3.2 and performing a simple test on using WMSLayer.  However, I am unable to use the WMSLayer.  Instead, I get these errors in Firebug:

I have modified the Esri sample located at http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/layers_wms.html in order to suit my environment-specific information such as my ArcGIS Server IP address and map services hosted on my ArcGIS Server.

This modified Esri sample is attached to this post; it is named WMSTest.txt.  Due to attachment restrictions, I had to change the .html extension to .txt.  Alos, in order to protect proprietary information, I have replaced our ArcGIS Server IP address and map service names with the following respective placeholders: [My_ArcGIS_Server_IP] and [My_Map_Service_Name].

Any suggestions or answers would be greatly appreciated.  Thanks!