public TaggedNoteArrays getSignedNotes(string fromDate, string toDate, int nNotes)
{
TaggedNoteArrays result = new TaggedNoteArrays();
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.getSignedNotes(_mySession.ConnectionSet, fromDate, toDate, nNotes);
result = new TaggedNoteArrays(t);
}
catch (Exception e)
{
result.fault = new FaultTO(e);
}
return result;
}