[omniORB] IOR in Python from hostname and port

Duncan Grisby dgrisby@uk.research.att.com
Fri, 24 Aug 2001 15:49:54 +0100


On Friday 24 August, "K. Novitsky" wrote:

> Well, basically connect to an Orbix server using:
> 
> #client.py <hostname> <port#>
> 
> ie, without name server or direct IOR.

In general it can't be done. You need to know the object key for the
Orbix object. If you don't know that, there's no way to cook up an
object reference for it.

You might have some luck if you play with the things mentioned in this
posting:

  http://www.uk.research.att.com/omniORB/archives/2000-08/0192.html

But you've already said that your version of Orbix doesn't support
_is_a(), so that probably won't be any help.

Connecting to a server given just host and port number isn't something
that is specified in any CORBA standard, so it's inevitably going to
be messy if you have two different ORBs.

Cheers,

Duncan.

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