NonStop Server for Java 7.0 Tools Reference Pages

24 wsgen : Java API for XML Web Services (JAX-WS) 2.0
The wsgen tool generates the 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. For more information on wsgen tool, see the Oracle
Java documentation for wsgen.
Synopsis
wsgen.sh <options> <SEI>
The following table lists the wsgen options.
DescriptionOption
Specifies where to find input class files.-classpath <path>
Specifies where to find input class files.-cp <path>
Specifies where to place generated output files.-d <directory>
Allows vendor extensions (functionality not specified by
the specification). Use of extensions may result in
-extension
applications that are not portable or may not interoperate
with other implementations.
Displays help.-help
Keeps generated files.-keep
Used only in conjunction with the -wsdl option. Specifies
where to place generated resource files such as WSDLs.
-r <directory>
Specifies where to place generated source files.-s <directory>
Displays output messages about what the compiler is doing.-verbose
Prints version information. Use of this option will ONLY
print version information. Normal processing will not occur.
-version
By default, wsgen does not generate a WSDL file. This flag
is optional and will cause wsgen to generate a WSDL file
-wsdl[:protocol]
and is usually used so that the user can look at the WSDL
before the endpoint is deployed. 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 can only be used in conjunction with the
-extension option.
Used only in conjunction with the -wsdl option. Specifies
a particular wsdl:service name to be generated in the
-servicename <name>
WSDL. For example, -servicename
"{http://mynamespace/}MyService".
Used only in conjunction with the -wsdl option. Specifies
a particular wsdl:port name to be generated in the
-portname <name>
WSDL. For example, -portname
"{http://mynamespace/}MyPort".
Synopsis 51