Contained Within
Find More DocumentationFeatured Support Resources |
wsimport(1M)NAME | SYNOPSIS | DESCRIPTION | OPTIONS | BINDING FILES | EXAMPLES | SEE ALSO NAME
SYNOPSIS
DESCRIPTIONThe wsimport command generates JAX-WS portable artifacts, such as service endpoint interfaces (SEIs), services, exception classes mapped from the wsdl:fault and soap:headerfault tags, asynchronous response beans derived from the wsdl:message tag, and JAX-B generated value types. After generation, these artifacts can be packaged in a WAR file with the WSDL and schema documents along with the endpoint implementation and then deployed. Invoking the wsimport command without specifying any arguments outputs the usage information. OPTIONS
BINDING FILESMultiple JAX-WS and JAX-B binding files can be specified using -b option and they can be used to customize things like package names and bean names. More information on JAX-WS and JAXB binding files can be found in the customization documentation included with this release. EXAMPLESExample 1 Using wsimport to generate client-side artifacts
Where client side artifacts are generated in the outputdir directory for running the service as defined in the AddNumbers.wsdl file using binding customization as defined in custom.xml. Example 2 Using wsimport to generate server-side artifacts
Where portable server-side artifacts are generated and preserved in the outputdir directory, Java programming language source files are generated and preserved in the sourcedir directory, and binding customization is defined in ../etc/custom.xml based on the AddNumbers.wsdl file. SEE ALSOJava EE 5 Last Revised 20 March 2006NAME | SYNOPSIS | DESCRIPTION | OPTIONS | BINDING FILES | EXAMPLES | SEE ALSO |
||