/**
   * Creates a default WMS layer with the following properties:
   *
   * <ul>
   *   <li>Server Capabilities URL: http://neowms.sci.gsfc.nasa.gov/wms/wms
   *   <li>Server Name: NASA Earth Observations (NEO) WMS
   *   <li>Layer Name: MOD14A1_M_FIRE
   *   <li>Layer Style: rgb
   *   <li>Layer Legend: http://neo.sci.gsfc.nasa.gov/palettes/files/modis_fire_l3.gif
   *   <li>Layer Info: http://neo.sci.gsfc.nasa.gov/Search.html?datasetId=MOD14A1_M_FIRE
   * </ul>
   */
  private WMSLayerInfo createWmsLayerInfo() throws Exception {
    WMSCapabilities caps =
        new WMSCapabilities(getClass().getResourceAsStream("wmsCapabilities.xml")).parse();
    WMSLayerCapabilities layerCaps = caps.getLayerByName("MOD14A1_M_FIRE");
    WMSLayerStyle style = layerCaps.getStyleByName("rgb");

    WMSLayerInfo result = new WMSLayerInfo(caps, layerCaps, style);
    return result;
  }