public virtual TimeSeriesResponseType GetValuesObject(string location, string variable, string startDate, string endDate, String authToken) { //GlobalClass.WaterAuth.DataValuesServiceAllowed(Context, authToken); if (!useODForValues) { throw new SoapException("GetValues implemented external to this service. Call GetSiteInfo, and SeriesCatalog includes the service Wsdl for GetValues. Attribute:serviceWsdl on Element:seriesCatalog XPath://seriesCatalog/[@serviceWsdl]", new XmlQualifiedName("ServiceException")); } try { return(ODws.GetValues(location, variable, startDate, endDate)); } catch (Exception we) { log.Warn(we.Message); throw SoapExceptionGenerator.WOFExceptionToSoapException(we); } }