protected NamedValue getReturn(CorbaMessage message) {
CorbaStreamable retVal = message.getStreamableReturn();
NamedValue ret = null;
if (retVal != null) {
Any returnAny = orb.create_any();
returnAny.insert_Streamable(retVal);
ret = orb.create_named_value(retVal.getName(), returnAny, org.omg.CORBA.ARG_OUT.value);
} else {
// TODO: REVISIT: for some reason, the yoko ORB does not like to
// have a null NamedValue return value. Create this 'empty'
// one if a void return type is used.