try
{
OrderedList hls = HLSManager.HLServices();
OrderedListIterator iter = new OrderedListIterator(hls);
HLSWrapper elem = (HLSWrapper) iter.iterate();
while (elem != null)
{
Outcome result = null;
try
{
result = elem.hls().complete(getCompletionStatus());
}
catch (SystemException ex)
{
result = new OutcomeImple(new HLSException(ex),
getCompletionStatus());