1wsimport(1)                 General Commands Manual                wsimport(1)
2
3
4

Name

6       wsimport - Java(TM) API for XML Web Services (JAX-WS) 2.0
7
8       Specification Version: 2.1
9       Implementation Version: 2.1.1
10

Overview

12       The wsimport tool generates JAX-WS portable artifacts, such as:
13
14          o Service Endpoint Interface (SEI)
15
16          o Service
17
18          o Exception class mapped from wsdl:fault (if any)
19
20          o Async Reponse Bean derived from response wsdl:message (if any)
21
22          o JAXB generated value types (mapped java classes from schema types)
23
24       These  artifacts can be packaged in a WAR file with the WSDL and schema
25       documents along with the endpoint implementation to be  deployed.  also
26       provides wsimport ant task, see Wsimport ant task @
27       https://jax-ws.dev.java.net/nonav/2.1.1/docs/wsimportant.html.
28
29

Launching wsimport

31          o Solaris/Linux
32
33             * /bin/wsimport.sh -help
34
35          o Windows
36
37             * \bin\wsimport.bat -help
38
39

Syntax

41       wsimport [options] <wsdl>
42
43       The following table lists the wsimport options.
44
45       Multiple JAX-WS and JAXB binding files can be specified using -b option
46       and they can be used to customize various things like package names,
47       bean names, etc. More information on JAX-WS and JAXB binding files can
48       be found in the customization documentation @
49       https://jax-ws.dev.java.net/nonav/2.1.1/docs/customizations.html.
50
51       The following table lists wsimport non-standard options:
52

Example

54       wsimport -p stockquote http://stockquote.example.com/quote?wsdl
55
56       This will generate the Java artifacts and compile them by importing the
57       http://stockquote.example.com/quote?wsdl.
58
59
60
61
62                                  16 Mar 2012                      wsimport(1)
Impressum