Home Index Changes Prefs Log in »
This is version 4. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

New Asant Tasks

Table of Contents

wsimport

The wsimport tool generates JAX-WS portable artifacts, such as:

  • Service Endpoint Interface (SEI)
  • Service
  • Exception class mapped from wsdl:fault (if any)
  • Async Reponse Bean derived from response wsdl:message (if any)
  • JAXB generated value types (mapped java classes from schema types)

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
« Home Attachments Info Index Changes Prefs
This particular version was published on 07-Sep-06 17:42 PM, -0700 by Jane Young