Home > Documentation > Reference > Tools and commands > jaxws-tools |
The jaxws-tools script can be used to generate portable artifacts used in JAX-WS web services. For example, portable artifacts such as Service Endpoint Interface (SEI) class, Service class, JAXB generated value types, etc.
This command has the following syntax:
jaxws-tools toolName [toolOptions] ...
Where toolName
can be either:
The jaxws-tools command can also be started by using the java -jar command:
java -Djava.endorsed.dirs=lib/endorsed -jar bin/jaxws-tools.jar toolName [toolOptions] ...
The jaxws-tools uses the wsgen tool provided by Sun to generate the portable artifacts from Java class. The wsgen tools has the following syntax:
jaxws-tools wsgen [options] <SEI>
Example:
jaxws-tools wsgen -d output -keep -wsdl -classpath . foo.BarService
The jaxws-tools uses the wsimport tool provided by Sun to generate the portable artifacts from WSDL. The wsimport has the following syntax:
jaxws-tools wsimport [options] <WSDL_URI>
Example:
jaxws-tools wsimport -d output -keep http://localhost:8080/foo/Bar?wsdl
Bookmark this on Delicious Digg this | Privacy Policy - Copyright © 2003-2013, The Apache Software Foundation, Licensed under ASL 2.0. |