{
org.omg.CORBA.Any any = ri.get_slot(slot_id);
if (! (any.type().kind().value() == org.omg.CORBA.TCKind._tk_null))
{
ServiceContext ctx = new ServiceContext(TransactionService.value,
codec.encode(any));
if (logger.isDebugEnabled())
logger.debug("adding Transaction Service Context"
+ " to outgoing request");
ri.add_request_service_context(ctx, false);