public TaggedTextArray getCrisisNotes(string fromDate, string toDate, int nrpts)
{
TaggedTextArray result = new TaggedTextArray();
string msg = MdwsUtils.isAuthorizedConnection(_mySession);
if (msg != "OK")
{
result.fault = new FaultTO(msg);
}
else if (fromDate == "")
{
result.fault = new FaultTO("Missing fromDate");
}
else if (toDate == "")
{
result.fault = new FaultTO("Missing toDate");
}
if (result.fault != null)
{
return result;
}
try
{
NoteApi api = new NoteApi();
IndexedHashtable t = api.getCrisisNotes(_mySession.ConnectionSet, fromDate, toDate, nrpts);
return new TaggedTextArray(t);
}
catch (Exception e)
{
result.fault = new FaultTO(e);
return result;
}
}