// TODO: This doen't really apply to a oneway since we are not expecting a return.
CorbaStreamable retVal = mc.getMessage().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.
ret = orb.create_named_value("return", orb.create_any(), org.omg.CORBA.ARG_OUT.value);