Monday, February 28, 2011

wsgen

wsgen(1)                                                              wsgen(1)



NAME
wsgen - JAX-WS 2.0 Beta

The wsgen tool 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.

SYNOPSIS
wsgen [options]


OPTIONS
The following table lists the wsgen options.


Table 1-1 wsgen Options

Ant task
An Ant task for the wsgen tool is provided along with the tool. The
attributes and elements supported by the Ant task are listed below:

sei="..."
destdir="directory for generated class files"
classpath="classpath" | cp="classpath"
resourcedestdir="directory for generated resource files such as WSDLs"
sourcedestdir="directory for generated source files"
keep="true|false"
verbose="true|false"
genwsdl="true|false"
protocol="soap1.1|Xsoap1.2"
servicename="..."
portname="...">
extension="true|false"




The classpath attribute is a path-like structure @
http://ant.apache.org/manual/using.html#path and can also be set via
nested elements. Before this task can be used, a
element needs to be added to the project as given below:






where jaxws.classpath is a reference to a path-like structure @
http://ant.apache.org/manual/using.html#path, defined elsewhere in the
build environment, and contains the list of classes required by the
JAX-WS tools.

Example
resourcedestdir="${wsdl.dir}"
sei="fromjava.server.AddNumbersImpl">




07 Aug 2006 wsgen(1)

No comments:

Post a Comment