C:\dummy>C:\jwsdp-1.4\jaxrpc\bin\wscompile -help
Usage: wscompile [options] configuration_file
where [options] include:
-classpath <path> specify where to find input class files
-cp <path> same as -classpath <path>
-d <directory> specify where to place generated output files
-define define a service
-f:<features> enable the given features (see below)
-features:<features> same as -f:<features>
-g generate debugging info
-gen same as -gen:client
-gen:client generate client artifacts (stubs, etc.)
-gen:server generate server artifacts (ties, etc.)
-help display help
-source <version> generate code for the specified JAXRPC SI version.
supported versions are: 1.0.1, 1.0.3, 1.1, 1.1.1 and
1.1.2(default)
-httpproxy:<host>:<port> specify a HTTP proxy server (port defaults to 8080)
-import generate interfaces and value types only
-keep keep generated files
-model <file> write the internal model to the given file
-nd <directory> specify where to place non-class generated files
-O optimize generated code
-s <directory> specify where to place generated source files
-verbose output messages about what the compiler is doing
-version print version information
-mapping <file> write the 109 mapping file to the given file
[failed to localize] sec.usage.options
Exactly one of the -import, -define, -gen options must be specified.
The -f option requires a comma-separated list of features.
Supported features (-f):
datahandleronly always map attachments to the DataHandler type
documentliteral use document literal encoding
rpcliteral use rpc literal encoding
explicitcontext turn on explicit service context mapping
infix:<name> specify an infix to use for generated ties
and serializers
infix=<name> same as infix:<name> (not on Windows)
jaxbenumtype map anonymous enumeration to its base type.
nodatabinding turn off data binding for literal encoding
noencodedtypes turn off encoding type information
nomultirefs turn off support for multiple references
norpcstructures do not generate RPC structures (-import only)
novalidation turn off full validation of imported WSDL documents
resolveidref resolve xsd:IDREF
searchschema search schema aggressively for subtypes
serializeinterfaces turn on direct serialization of interface types
strict generate code strictly compliant with the JAXRPC
1.1 specification
useonewayoperations allow generation of one-way operations
wsi enable WSI-Basic Profile features (for
document/literal and rpc/literal)
unwrap enable unWrapping of document/literal
wrapper elements in wsi mode
donotoverride donot regenerate the classes
donotunwrap disable unWrapping of document/literal
wrapper elements in wsi mode (Default)
Internal options (unsupported):
-Xdebugmodel:<file> write a readable version of the model to a file
-Xprintstacktrace print exception stack traces
-Xserializable generate value types that implement Serializable int
erface
Examples:
wscompile -gen -classpath lib/foo.jar;lib/bar.jar -d generated config.xml
wscompile -gen -f:infix:Name -d generated config.xml
wscompile -define -f:nodatabinding -f:novalidation config.xml
wscompile -import -f:explicitcontext config.xml
Don't get me started about those stupid light bulbs. |