OS Manuals

/usr/lib/jvm/java-1.9-openjdk/bin/wsgen

Oracle OpenJDK 9

From openjdk-9 9.0.4-r8 (os), captured 2026-11-05 by running wsgen --help (exit 1). permalink

unrecognized parameter --help


Usage: WSGEN [options] <SEI>

where [options] include:
  -classpath <path>          specify where to find input class files and wsgen extensions
  -cp <path>                 specify where to find input class files and wsgen extensions
  -d <directory>             specify where to place generated output files
  -encoding <encoding>       specify character encoding used by source files
  -extension                 allow vendor extensions - functionality not specified
                             by the specification.  Use of extensions may
                             result in applications that are not portable or
                             may not interoperate with other implementations
  -help                      display help
  -J<javacOption>            pass this option to javac
  -keep                      keep generated files
  -r <directory>             resource destination directory, specify where to
                             place resouce files such as WSDLs
  -s <directory>             specify where to place generated source files
  -verbose                   output messages about what the compiler is doing
  -version                   print version information
  -fullversion               print full version information
  -wsdl[:protocol]           generate a WSDL file. The protocol is optional.
                             Valid protocols are [soap1.1, Xsoap1.2],
                             the default is soap1.1.
                             The non standard protocols [Xsoap1.2]
                             can only be used in conjunction with the
                             -extension option.
  -inlineSchemas             inline schemas in the generated wsdl. Must be
                             used in conjunction with the -wsdl option.
  -servicename <name>        specify the Service name to use in the generated WSDL
                             Used in conjunction with the -wsdl option.
  -portname <name>           specify the Port name to use in the generated WSDL
                             Used in conjunction with the -wsdl option.
  -x <file>                  specify External Web Service Metadata xml descriptor

Extensions:
  -Xnocompile                do not compile generated Java files

Examples:
  wsgen -cp . example.Stock
  wsgen -cp . example.Stock -wsdl -servicename {http://mynamespace}MyService
Options (19)
OptionDescriptionSource
-classpath pathspecify where to find input class files and wsgen extensionshelp
-cp pathspecify where to find input class files and wsgen extensionshelp
-d directoryspecify where to place generated output fileshelp
-encoding encodingspecify character encoding used by source fileshelp
-extensionallow vendor extensions - functionality not specified by the specification.help
-helpdisplay helphelp
-J javacOptionpass this option to javachelp
-keepkeep generated fileshelp
-r directoryresource destination directory, specify where to place resouce files such as WSDLshelp
-s directoryspecify where to place generated source fileshelp
-verboseoutput messages about what the compiler is doinghelp
-versionprint version informationhelp
-fullversionprint full version informationhelp
-wsdl :protocolgenerate a WSDL file.help
-inlineSchemasinline schemas in the generated wsdl.help
-servicename namespecify the Service name to use in the generated WSDL Used in conjunction with the -wsdl option.help
-portname namespecify the Port name to use in the generated WSDL Used in conjunction with the -wsdl option.help
-x filespecify External Web Service Metadata xml descriptorhelp
-Xnocompiledo not compile generated Java fileshelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.