B.6 Using the Stub Generator
J2ME Clients can use the Stub Generator to access web services. The wscompile tool generates stubs, ties, serializers, and WSDL files used in
The syntax for the stub generator command is as follows:
wscompile [options] configuration_files
B.6.1 Options
TABLE 14 Options for the wscompile Command
Option | Description |
|
|
-
httpproxy:<host>:<p
ort>
-s <directory> -verbose -version -cldc1.0
specify where to place generated output files enable the given features
same as
generate client artifacts (stubs, etc.)
specify a HTTP proxy server (port defaults to 8080)
generate interfaces and value types only write the internal model to the given file optimize generated code
specify where to place generated source files output messages about what the compiler is doing print version information
Set the CLDC version to 1.0 (default) (float and double become String)
Set the CLDC version to 1.1 (float and double are ok) Show all CLDC 1.0 info/warning messages.
Appendix B Command Line Reference 113