// Write reply value
os.write_Object(serviceObject);
} else if (method.equals("list")) {
java.util.Set keys = orb.getLocalResolver().list() ;
os.write_long( keys.size() ) ;
Iterator iter = keys.iterator() ;
while (iter.hasNext()) {
String obj = (String)iter.next() ;
os.write_string( obj ) ;
}