public TaggedTextArray getOrderDialogsForDisplayGroup(string displayGroupId)
{
TaggedTextArray result = new TaggedTextArray();
if (!(MdwsUtils.isAuthorizedConnection(mySession) == "OK"))
{
result.fault = new FaultTO("Connections not ready for operation", "Need to login?");
}
else if (String.IsNullOrEmpty(displayGroupId))
{
result.fault = new FaultTO("Empty Display Group ID");
}
if (result.fault != null)
{
return result;
}
try
{
OrderedDictionary d = Order.getOrderDialogsForDisplayGroup(mySession.ConnectionSet.BaseConnection, displayGroupId);
result = new TaggedTextArray(d);
}
catch (Exception exc)
{
result.fault = new FaultTO(exc);
}
return result;
}