[omniORB] omniORBpy: Nameserver IOR via HTTP

Duncan Grisby dgrisby@uk.research.att.com
Tue, 14 Dec 1999 10:21:47 +0000


On Friday 10 December, Robert Sander wrote:

> In standard omniORB config I have a Nameserver IOR string in omniORB.cfg,
> but I have a special case, where I only get the IOR via HTTP, because the
> nameserver changes from time to time. Is it possible to set the nameserver
> IOR in the program, before calling CORBA.ORB_init. Maybe it is stated
> somewhere in the docs, so a reference is also useful.

Is there any particular reason that you have to get the object
reference with resolve_initial_references()?  If not, the easiest
thing is to just get the IOR with HTTP and use string_to_object().

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --