Syntax
The xrpcc
tool is a command-line utility with the following syntax:
UNIX:
xrpcc.sh [options
] config-file-name
Windows:
xrpcc.bat [options
] config-file-name
Table 1 lists the tool's options. If no option is specified, the tool displays usage information.
Table 1 Options of xrpcc
Option
|
Description
|
-client
|
Generates client-side files: stubs, service interface, implementation classes, remote interface*
|
-server
|
Generates server-side files: ties, server configuration file, WSDL file*, service definition interface*
|
-both
|
Generates both the client-side and server-side files
|
-classpath classpath
|
Sets the tool's classpath
|
-d directory-name
|
Specifies the output directory for the generated files
|
-keep
|
Does not delete the generated .java files after they are compiled
|
-version
|
Displays version number of JAX-RPC
|
* If this file is specified in the tool's configuration file, then this file will be generated even if the command-line option is not specified.