public MetadataService()
{
System.Collections.Specialized.NameValueCollection settings = System.Web.Configuration.WebConfigurationManager.AppSettings;
string server = settings["GeoNetworkUrl"];
string username = settings["GeoNetworkUsername"];
string password = settings["GeoNetworkPassword"];
_geoNorge = new GeoNorgeAPI.GeoNorge(username, password, server);
_geoNorge.OnLogEventDebug += new GeoNorgeAPI.LogEventHandlerDebug(LogEventsDebug);
_geoNorge.OnLogEventError += new GeoNorgeAPI.LogEventHandlerError(LogEventsError);
}