summaryrefslogtreecommitdiff
path: root/TAO/tests/InterOp-Naming/README
blob: 296e8b9cd5a6ad53aed63f6fe1a533b1ddc17185 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
CORBA InterOperable Naming Service :
-------------------------------------

This service allows the ORB to be administratively configured to return
object references from CORBA::ORB::resolve_initial_references () for
non-locality constrained objects.

For more information on the service please see :

$(TAO_ROOT)/docs/releasenotes/#nservices
$(TAO_ROOT)/docs/Options.html

The InterOp_test :

The test server adds the argument specified with the -i option and the
IOR of the INS_i servant to the IOR table. The test client calls 
resolve_initial_references on argv[1].

TEST 1: Single Profile corbalocs using -ORBInitRef

InterOp-Naming> INS_test_server -i ins -nd -ORBObjRefStyle URL  
					// -i Adds the ins:IOR mapping to
					// the ORB table.
					// -n Use the Naming Service.

InterOp-Naming> INS_test_client arbit_service \
                -ORBInitRef "arbit_service=corbaloc:iiop:<host-name>:<port>/ins"


TEST 2: Multiple Profile corbalocs using -ORBInitRef

InterOp-Naming> INS_test_server -i ins -nd -ORBobjrefstyle url  

					// -i Adds the ins:IOR mapping to
					// the ORB table.
					// -n Use the Naming Service.

InterOp-Naming> INS_test_client arbit_service \
		-ORBInitRef "arbit_service=corbaloc:1.0@<host-name>:<port>/ins,
					   1.0@<host-name2>:<port2>/key,
					   ...
					   1.0@<host-namen>:<portN>/key"

TEST 3: Single Profile corbaloc using -ORBDefautlInitRef

InterOp-Naming> INS_test_server -i ins -nd -ORBObjRefStyle URL  

					// -i Adds the ins:IOR mapping to
					// the ORB table.
					// -n Use the Naming Service.

InterOp-Naming> INS_test_client ins \
		-ORBDefaultInitRef "corbaloc::1.0@<host-name>:<port>"

TEST 4: Multiple Profile corbaloc using -ORBDefaultInitRef

InterOp-Naming> INS_test_server -i ins -nd -ORBobjrefstyle url  

					// -i Adds the ins:IOR mapping to
					// the ORB table.
					// -n Use the Naming Service.

InterOp-Naming> INS_test_client \
		-ORBDefaultInitRef "corbaloc::1.0@<host-name>:<port>,
					    1.0@<host-name2>:<port2>,
					    ...
					    1.0@<host-namen>:<portN>"