How do I connect to a 3rd-party Naming Service from Suns ORB?
The recommended way is to use the Interoperable Naming Service (INS), if this option is supported by the 3rd-party Naming Service. To use the Sun ORB with another vendor’s Naming Service, • Start the 3rd-party name server on Host and Port. • Pass the following argument to ORB.init(): -ORBInitRef NameService=corbaloc:iiop:1.2@:/NameService When you do orb.resolve_initial_references( “NameService” ), you should be able to connect to 3rd-party Name Service. If you are still not able to connect, try these troubleshooting hints: • Verify that the 3rd-party Name Service supports INS. • Verify that the host and port information is accurate. • Verify that the 3rd-party Name Service has been started successfully. • Verify that the 3rd-party Name Service supports GIOP 1.2. If not, refer to the Name Server’s documentation for the correct the GIOP version, and modify the corbaloc: URL accordingly. • Determine if the 3rd-party Name Service has a different object key it uses to contact NameService.