The
wsgentool generates JAX-WS portable artifacts used in JAX-WS web services. The tool reads a web service endpoint implementation class (SEI) and generates all the required artifacts for web service deployment, and invocation.
wsgen [options] <SEI>
The following table lists the wsgen options.
Table 1-1 wsgen Options
Option |
Description |
|---|---|
|
Specify where to find input class files |
|
Same as |
|
Specify where to place generated output files |
|
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. |
|
Display help |
|
Keep generated files |
|
Used only in conjunction with the -wsdl option. Specify where to place generated resource files such as WSDLs. |
|
Specify where to place generated source files |
|
Output messages about what the compiler is doing |
|
Print version information. Use of this option will ONLY print version information. Normal processing will not occur. |
|
By default |
|
Used only in conjunction with the |
|
Used only in conjunction with the |
wsgen -cp . -wsdl fromjava.server.AddNumbersImplThis generates the portable JAX-WS artifacts that are required for Web Service deployment.
It also generates the WSDL for the Web Service with the-wsdloption.
|
Copyright © 2006 Sun Microsystems, Inc. All Rights Reserved. |
![]() Java Software |