Re: connecting to naming service without IOR



Hi,

it should be

-ORBInitRef NameService=corbaloc:://MyHost/NameServiceKey

You don't need "iiop", because it is the default protocol (and also the only
specified protocol currently). The same holds for IIOPVersion, which
defaults to 1.0. I'm not sure if the server starts up with the port number
defined by the INS spec., if not you need to set the port to the port number
of the NameService server object.
Have a look to the NameService source code to find out which key is used by
the ORB for the NameService object.

Hope this helps!

   Michael

----- Original Message -----
From: "Derek Horton" <trohed yahoo com>
To: "orbit-list" <orbit-list gnome org>
Sent: Donnerstag, 19. Oktober 2000 02:40
Subject: connecting to naming service without IOR


> How can I connect to the Naming Service without
> passing the IOR?  I would like to use -ORBInitRef
> ObjectId, but I don't know the correct syntax for
> this.  What would the correct syntax be?
>
> -ORBInitRef
>
ObjectId=corbaloc:iiop://IIOPVersion hostname:<NamingServicePort>/<NamingSer
viceRootObject>
>
> or
> -ORBInitRef
> ObjectId=corbaname://hostname/<NamingService>
>
> Thanks
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Messenger - Talk while you surf!  It's FREE.
> http://im.yahoo.com/
>
> _______________________________________________
> orbit-list mailing list
> orbit-list gnome org
> http://mail.gnome.org/mailman/listinfo/orbit-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]