[omniORB] Omniorb client with jacorb server

Ridgway, Richard (London) Richard_Ridgway at ml.com
Mon Sep 29 11:27:25 BST 2008


Yes. In python:

        NSObj = Orb.string_to_object(IOR)
        NS    = NSObj._narrow(CosNaming.NamingContext)

It will work similarly in c++. You could also set -ORBInitRef NameService=IOR:00ff... on the commandline, followed by resolve_initial_references("NameService") in your code. I don't as I use omniorb to talk to a dozen different nameservices. It works happily with name service implementations from TAO, JacORB, Orbix. Any ns implementation that conforms to the standards should work.

Richard



-----Original Message-----
From: omniorb-list-bounces at omniorb-support.com [mailto:omniorb-list-bounces at omniorb-support.com] On Behalf Of Vázquez Landa, David
Sent: 29 September 2008 10:02
To: omniorb-list at omniorb-support.com
Subject: [omniORB] Omniorb client with jacorb server


Hi,
I was reading the documentation and a question arised...  What if I have a jacorb server running, with jacorb's nameservice (say, in a file, something like "file:/c:/public/NS_Ref")... Is it possible to use this nameservice from an omniorb client?

Thanks :)

_______________________________________________
omniORB-list mailing list
omniORB-list at omniorb-support.com
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
--------------------------------------------------------

This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing.
--------------------------------------------------------



More information about the omniORB-list mailing list