If you have not refreshed or restarted the server since creating the CPPArithmetic component, do so now before running the client program. Make sure your environment is configured as described in “Verify your environment”.
Run the executable, specifying the server host name and IIOP port number on the command line as follows:
arith iiop://host:iiop-port
For example:
arith iiop://myhost:9000
If everything is working, arith prints the results from the invocation of the multiply method. If not, check the error text printed on the console where you ran the client, and check for error messages in the server log file.
Copyright © 2005. Sybase Inc. All rights reserved. |