wgen reads a web service endpoint class and generates all the required artifacts for web service deployment and invocation.
Invoking the wsgen command without specifying any arguments outputs the usage information.
location of the input class files.
same as -cp path option.
where to place the generated output files.
Use vendor-specific extensions (functionality not specified in the JAX-WS specification), which may result in applications that are not portable and/or not interoperable with other web service implementations.
prints usage information.
keeps the generated files.
Specifies the wsdl:port name generated in the WSDL file. Used in conjunction with -wsdl.
directory where generated resource files such as WSDL files are stored. Used in conjunction with -wsdl.
directory for the generated source files.
Specifies the wsdl:service name generated in the WSDL file. Used in conjunction with -wsdl.
output messages about what the compiler is doing.
prints version information.
generates a WSDL file. The protocol is optional and is used to specify what protocol should be used in the wsdl:binding. Valid protocols include: soap1.1 and Xsoap1.2. The default is soap1.1. Xsoap1.2 is not standard and may only be used with -extension.
wsgen -d outputdir -classpath classpathdir fromjava.server.AddNumbersImpl
Where the JAX-WS artifacts are generated in the outputdir for running the service as defined in the fromjava.server.AddNumbersImpl service endpoint interface.