The wsimport tool generates JAX-WS portable artifacts, such as:
These artifacts can be packaged in a WAR file with the WSDL and schema documents along with the endpoint implementation to be deployed.
| Attributes | Description | Required |
|---|---|---|
| wsdl | WSDL file | |
| destdir | Specify where to place output generated classes | |
| sourcedestdir | Specify where to place generated source files, keep is turned on with this option | |
| keep | Keep generated files, tunred on with sourcedestdir option | |
| verbose | Output messages about what the compiler is doing | |
| binding | Specify external JAX-WS or JAXB binding files | |
| extension | allow vendor extentions (funcionality not specified by the specification). Use of extensions may result in applications that are not portable or may not interoperate with other implementations | |
| wsdllocation | The wsdl URI passed thru this option will be used to set the value of @WebService.wsdlLocation and @WebServiceClient.wsdlLocation annotation elements on the generated SEI and Service interface | |
| catalog | Specify catalog file to resolve external entity references, it supports TR9401, XCatalog, and OASIS XML Catalog format. Additionally, ant xmlcatalog type can be used to resolve entities, see wsimport_catalog sample. | |
| package | Specifies the target package |