Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / InterOp-Naming / README
blobb6e857ddf31e0ecf10f71039e43c122812635467
3 CORBA InterOperable Naming Service :
4 -------------------------------------
6 This service allows the ORB to be administratively configured to return
7 object references from CORBA::ORB::resolve_initial_references () for
8 non-locality constrained objects.
10 For more information on the service please see :
12 $(TAO_ROOT)/docs/releasenotes/#nservices
13 $(TAO_ROOT)/docs/Options.html
15 The InterOp_test :
17 The test server adds the argument specified with the -i option and the
18 IOR of the INS_i servant to the IOR table. The test client calls
19 resolve_initial_references on argv[1].
21 TEST 1: Single Profile corbalocs using -ORBInitRef
23 InterOp-Naming> INS_test_server -i ins -nd -ORBObjRefStyle URL
24                                         // -i Adds the ins:IOR mapping to
25                                         // the ORB table.
26                                         // -n Use the Naming Service.
28 InterOp-Naming> INS_test_client arbit_service \
29                 -ORBInitRef "arbit_service=corbaloc:iiop:<host-name>:<port>/ins"
32 TEST 2: Multiple Profile corbalocs using -ORBInitRef
34 InterOp-Naming> INS_test_server -i ins -nd -ORBobjrefstyle url
36                                         // -i Adds the ins:IOR mapping to
37                                         // the ORB table.
38                                         // -n Use the Naming Service.
40 InterOp-Naming> INS_test_client arbit_service \
41                 -ORBInitRef "arbit_service=corbaloc:1.0@<host-name>:<port>/ins,
42                                            1.0@<host-name2>:<port2>/key,
43                                            ...
44                                            1.0@<host-namen>:<portN>/key"
46 TEST 3: Single Profile corbaloc using -ORBDefautlInitRef
48 InterOp-Naming> INS_test_server -i ins -nd -ORBObjRefStyle URL
50                                         // -i Adds the ins:IOR mapping to
51                                         // the ORB table.
52                                         // -n Use the Naming Service.
54 InterOp-Naming> INS_test_client ins \
55                 -ORBDefaultInitRef "corbaloc::1.0@<host-name>:<port>"
57 TEST 4: Multiple Profile corbaloc using -ORBDefaultInitRef
59 InterOp-Naming> INS_test_server -i ins -nd -ORBobjrefstyle url
61                                         // -i Adds the ins:IOR mapping to
62                                         // the ORB table.
63                                         // -n Use the Naming Service.
65 InterOp-Naming> INS_test_client \
66                 -ORBDefaultInitRef "corbaloc::1.0@<host-name>:<port>,
67                                             1.0@<host-name2>:<port2>,
68                                             ...
69                                             1.0@<host-namen>:<portN>"