[omniORB] Interoperability with Voyager

brk@jenkon.com brk@jenkon.com
Thu, 20 Sep 2001 13:13:27 -0700


Hi, I'm trying to connect an omniORBpy client to a Voyager
(www.objectspace.com) server. Looking at the sample code in the omniORBpy
manual I see code like:

import sys
from omniORB import CORBA
import CosNaming, Example

# Initialise the ORB
orb = CORBA.ORB_init(sys.argv, CORBA.ORB_ID)

# Obtain a reference to the root naming context
obj = orb.resolve_initial_references("NameService")
rootContext = obj._narrow(CosNaming.NamingContext)

But, to connect to Voyager, I need something else instead of "NameService"
for my rir call, right? Some corbaloc reference? Or am I missing the boat
altogether? Some other method should be called?

N.B. I need to connect to a server given only hostname and port, so examples
which involve stringified IORs will not be helpful. 

Thanks!

Bryn Keller
Senior Software Engineer
Jenkon
brk@jenkon.com