wsgen (original) (raw)
-classpath path
The location of the input class files.
-cp path
The location of the input class files.
-d directory
The location for where to place generated output files.
-extension
Allow vendor extensions. Use of extensions can result in applications that are not portable or that do not work with other implementations.
-help
Displays a help message about the wsgen
command.
-keep
Keeps the generated files.
-r directory
Uses this option with the -wsdl
option to specify where to place generated resource files such as WSDLs.
-s directory
The location for where to place generated source files.
-verbose
Displays compiler messages.
-version
Prints release information.
-wsdl [ :protocol ]
An optional command that generates a WSDL file to review before endpoint deployment. The WSDL files contains a machine-readable description of how the service can be called, what parameters it expects, and what data structures it returns.
By default the wsgen
command does not generate a WSDL file. The protocol
value is optional and is used to specify what protocol should be used for the WSDL binding (wsdl:binding
). Valid protocols are soap1.1
and Xsoap1.2
. The default is soap1.1
. The Xsoap1.2
protocol is not standard and can only be used with the -extension
option.
-servicename name
Used only with the -wsdl
option to specify a particular WSDL service (wsdl:service
) name to be generated in the WSDL, for example: -servicename "{http://mynamespace/}MyService"
.
-portname name
Used only with the -wsdl
option to specify a particular WSDL port (wsdl:port
) name to be generated in the WSDL, for example: -portname "{http://mynamespace/}MyPort"
.