public TaggedTextArray getOrderableItemsByName(string name)
{
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(name))
{
result.fault = new FaultTO("Empty name");
}
if (result.fault != null)
{
return result;
}
try
{
OrderedDictionary d = Order.getOrderableItemsByName(mySession.ConnectionSet.BaseConnection, name);
result = new TaggedTextArray(d);
}
catch (Exception exc)
{
result.fault = new FaultTO(exc);
}
return result;
}