3 A simple test for the DSI/DII gateway support. TAO can
4 optimize some demarshaling/marshaling and data copying in the
5 implementation of DSI/DII based gateways. The DSI/DII gateway can
6 also pass requests and replies that are not in native (the
7 gateway's) byte order. NOTE - For this last feature to work, you
8 must compile ACE with ACE_ENABLE_SWAP_ON_WRITE defined.
10 This is a smoke test and simple example for those
13 $ server -o server.ior
14 $ gateway -k file://server.ior -o gw.ior
15 $ client -k file://gw.ior -i 100 -x
17 or run the run_test.pl script.
19 A second perl script, run_exception_test.pl,
20 tests the exception handling of the gateway. The script
21 runs the client twice, first calling a method that raises
22 a user exception (containing several fields of information),
23 then calling a method that raises a CORBA system exception.
25 To run these tests by hand, start the server and gateway
26 as shown above, then use
28 $ client -k file://gw.ior -u
30 for the user exception test and
32 $ client -k file://gw.ior -s
34 for the system exception test. For these tests, the -x
35 option (server shutdown) and -i option (# of calls)