JAX-WS RI 2.1.5 | Users Guide | Tools | JAX-WS RI Extensions | Samples | JAX-WS Community |
apt
The
apt
tool provides a facility for programmatically
processing the annotations added to Java by
JSR 175,
Metadata
Facility for the Java
TM
Programming
Language. In brief, JSR 175 allows programmers to declare new kinds
of structured modifiers that can be associated with program elements,
fields, methods, classes, etc.
The
apt
tool generates the portable artifacts used in
JAX-WS services.
For more information on this tool please see:
apt
tool.
The
wsimport
tool generates JAX-WS portable
artifacts used in JAX-WS clients and
services. The tool reads a WSDL and
generates all the required artifacts for web service development,
deployment, and invocation.
For more information on this tool please see:
wsimport
tool.
The
wsgen
tool reads a
service
endpoint implementation class and generates all of the portable
artifacts for a JAX-WS web service..
For more information on this tool please see: wsgen tool.
For details see
Endorsed
Directory Mechanism. Above, JAXWS_HOME points to the root directory of the
extracted JAX-WS RI bundle. JDK6_HOME points to JDK 6 installation directory.
The following lists the process to create a web service starting from Java sources, classes, and a WSDL file (server side):
apt
to generate the artifacts required by the JAX-WS specification.
web.xml
,
sun-jaxws.xml
,
service endpoint interface and
implementation class, value types, and generated classes, if any, into
a WAR file,
wsgen
to generate portable artifacts.
web.xml
,
sun-jaxws.xml
,
service endpoint interface and
implementation class, value types, and generated classes, if any, into
a WAR file,
wsimport
to generate portable artifacts.
web.xml
,
sun-jaxws.xml
, service endpoint interface and
implementation class, value types, and generated classes,
if any, into a WAR file.
The following lists the process to invoke a web service (client side):
wsimport
to generate the client-side
artifacts.