jdk/src/bsd/doc/man/wsgen.1
author duke
Wed, 05 Jul 2017 19:59:42 +0200
changeset 26369 4554006fae4a
parent 21743 3d979da7bdf0
child 31876 91b22707521a
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
21743
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
     1
'\" t
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
     2
.\"  Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
     3
.\"
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
     4
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
     5
.\"
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
     6
.\" This code is free software; you can redistribute it and/or modify it
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
     7
.\" under the terms of the GNU General Public License version 2 only, as
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
     8
.\" published by the Free Software Foundation.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
     9
.\"
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    10
.\" This code is distributed in the hope that it will be useful, but WITHOUT
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    11
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    12
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    13
.\" version 2 for more details (a copy is included in the LICENSE file that
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    14
.\" accompanied this code).
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    15
.\"
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    16
.\" You should have received a copy of the GNU General Public License version
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    17
.\" 2 along with this work; if not, write to the Free Software Foundation,
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    18
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    19
.\"
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    20
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    21
.\" or visit www.oracle.com if you need additional information or have any
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    22
.\" questions.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    23
.\"
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    24
.\"     Arch: generic
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    25
.\"     Software: JDK 8
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    26
.\"     Date: 21 November 2013
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    27
.\"     SectDesc: Java Web Services Tools
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    28
.\"     Title: wsgen.1
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    29
.\"
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    30
.if n .pl 99999
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    31
.TH wsgen 1 "21 November 2013" "JDK 8" "Java Web Services Tools"
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    32
.\" -----------------------------------------------------------------
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    33
.\" * Define some portability stuff
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    34
.\" -----------------------------------------------------------------
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    35
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    36
.\" http://bugs.debian.org/507673
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    37
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    38
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    39
.ie \n(.g .ds Aq \(aq
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    40
.el       .ds Aq '
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    41
.\" -----------------------------------------------------------------
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    42
.\" * set default formatting
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    43
.\" -----------------------------------------------------------------
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    44
.\" disable hyphenation
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    45
.nh
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    46
.\" disable justification (adjust text to left margin only)
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    47
.ad l
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    48
.\" -----------------------------------------------------------------
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    49
.\" * MAIN CONTENT STARTS HERE *
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    50
.\" -----------------------------------------------------------------
12047
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
diff changeset
    51
21743
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    52
.SH NAME    
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    53
wsgen \- Reads a web service endpoint implementation (SEI) class and generates all of the required artifacts for web service deployment, and invocation\&.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    54
.SH SYNOPSIS    
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    55
.sp     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    56
.nf     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    57
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    58
\fBwsgen\fR [ \fIoptions\fR ] \fISEI\fR
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    59
.fi     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    60
.sp     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    61
.TP     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    62
\fIoptions\fR
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    63
The command-line options\&. See Options\&.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    64
.TP     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    65
\fISEI\fR
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    66
The web service endpoint implementation class (SEI) to be read\&.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    67
.SH DESCRIPTION    
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    68
The \f3wsgen\fR command generates JAX-WS portable artifacts used in JAX-WS web services\&. The tool reads a web service endpoint class and generates all the required artifacts for web service deployment and invocation\&. JAXWS 2\&.1\&.1 RI also provides a \f3wsgen\fR Ant task, see the \fITools\fR tab of the JAX-WS (wsgen) page at http://jax-ws\&.java\&.net/nonav/2\&.1\&.1/docs/wsgenant\&.html
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    69
.PP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    70
To start the \f3wsgen\fR command, do the following:
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    71
.sp     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    72
.nf     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    73
\f3export JAXWS_HOME=/pathto/jaxws\-ri\fP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    74
.fi     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    75
.nf     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    76
\f3$JAXWS_HOME/bin/wsgen\&.sh \-help\fP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    77
.fi     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    78
.nf     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    79
\f3\fP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    80
.fi     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    81
.sp     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    82
.SH OPTIONS    
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    83
.TP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    84
-classpath \fIpath\fR
12047
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
diff changeset
    85
.br
21743
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    86
The location of the input class files\&.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    87
.TP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    88
-cp \fIpath\fR
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    89
.br
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    90
The location of the input class files\&.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    91
.TP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    92
-d \fIdirectory\fR
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    93
.br
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    94
The location for where to place generated output files\&.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    95
.TP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    96
-extension
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    97
.br
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    98
Allow vendor extensions\&. Use of extensions can result in applications that are not portable or that do not work with other implementations\&.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
    99
.TP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   100
-help
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   101
.br
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   102
Displays a help message about the \f3wsgen\fR command\&.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   103
.TP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   104
-keep
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   105
.br
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   106
Keeps the generated files\&.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   107
.TP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   108
-r \fIdirectory\fR
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   109
.br
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   110
Uses this option with the \f3-wsdl\fR option to specify where to place generated resource files such as WSDLs\&.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   111
.TP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   112
-s \fIdirectory\fR
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   113
.br
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   114
The location for where to place generated source files\&.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   115
.TP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   116
-verbose
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   117
.br
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   118
Displays compiler messages\&.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   119
.TP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   120
-version
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   121
.br
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   122
Prints release information\&.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   123
.TP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   124
-wsdl [ :protocol ] \fI\fR
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   125
.br
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   126
An optional command that generates a WSDL file to review before endpoint deployment\&. The WSDL files contains a machine-readable description of how the service can be called, what parameters it expects, and what data structures it returns\&.
12047
320a714614e9 7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
diff changeset
   127
21743
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   128
By default the \f3wsgen\fR command does not generate a WSDL file\&. The \f3protocol\fR value is optional and is used to specify what protocol should be used for the WSDL binding (\f3wsdl:binding\fR)\&. Valid protocols are \f3soap1\&.1\fR and \f3Xsoap1\&.2\fR\&. The default is \f3soap1\&.1\fR\&. The \f3Xsoap1\&.2\fR protocol is not standard and can only be used with the \f3-extension\fR option\&.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   129
.TP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   130
-servicename \fIname\fR
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   131
.br
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   132
Used only with the \f3-wsdl\fR option to specify a particular WSDL service (\f3wsdl:service\fR) name to be generated in the WSDL, for example: \f3-servicename "{http://mynamespace/}MyService"\fR\&.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   133
.TP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   134
-portname \fIname\fR
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   135
.br
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   136
Used only with the \f3-wsdl\fR option to specify a particular WSDL port (\f3wsdl:port\fR) name to be generated in the WSDL, for example: \f3-portname "{http://mynamespace/}MyPort"\fR\&.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   137
.SH EXAMPLES    
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   138
The following example generates the wrapper classes for \f3StockService\fR with \f3@WebService\fR annotations inside stock directory\&.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   139
.sp     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   140
.nf     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   141
\f3wsgen \-d stock \-cp myclasspath stock\&.StockService\fP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   142
.fi     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   143
.nf     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   144
\f3\fP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   145
.fi     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   146
.sp     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   147
The following example generates a SOAP 1\&.1 WSDL and schema for the \f3stock\&.StockService\fR class with \f3@WebService\fR annotations\&.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   148
.sp     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   149
.nf     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   150
\f3wsgen \-wsdl \-d stock \-cp myclasspath stock\&.StockService\fP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   151
.fi     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   152
.nf     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   153
\f3\fP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   154
.fi     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   155
.sp     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   156
The following example generates a SOAP 1\&.2 WSDL\&.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   157
.sp     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   158
.nf     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   159
\f3wsgen \-wsdl:Xsoap1\&.2 \-d stock \-cp myclasspath stock\&.StockService \fP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   160
.fi     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   161
.nf     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   162
\f3\fP
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   163
.fi     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   164
.sp     
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   165
\fINote:\fR You do not have to generate WSDL at development time because the JAXWS run time environment generates a WSDL for you when you deploy your service\&.
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   166
.SH SEE\ ALSO    
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   167
.TP 0.2i    
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   168
\(bu
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   169
wsimport(1)
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   170
.TP 0.2i    
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   171
\(bu
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   172
\fIThe Tools\fR tab of the JAX-WS (wsgen) page http://jax-ws\&.java\&.net/nonav/2\&.1\&.1/docs/wsgenant\&.html
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   173
.RE
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   174
.br
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   175
'pl 8.5i
3d979da7bdf0 8029043: Update nroff files for JDK 8
rgallard
parents: 12047
diff changeset
   176
'bp