2692
+ − 1
." Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
2
+ − 2
." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ − 3
."
+ − 4
." This code is free software; you can redistribute it and/or modify it
+ − 5
." under the terms of the GNU General Public License version 2 only, as
+ − 6
." published by the Free Software Foundation.
+ − 7
."
+ − 8
." This code is distributed in the hope that it will be useful, but WITHOUT
+ − 9
." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ − 10
." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ − 11
." version 2 for more details (a copy is included in the LICENSE file that
+ − 12
." accompanied this code).
+ − 13
."
+ − 14
." You should have received a copy of the GNU General Public License version
+ − 15
." 2 along with this work; if not, write to the Free Software Foundation,
+ − 16
." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ − 17
."
+ − 18
." Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ − 19
." CA 95054 USA or visit www.sun.com if you need additional information or
+ − 20
." have any questions.
+ − 21
."
2692
+ − 22
.TH wsgen 1 "04 May 2009"
+ − 23
." Generated from HTML by html2man (author: Eric Armstrong)
+ − 24
.SH "Name"
+ − 25
wsgen \- Java(TM) API for XML Web Services (JAX\-WS) 2.0
2
+ − 26
.RS 3
+ − 27
+ − 28
.LP
+ − 29
.LP
2692
+ − 30
\f3Specification Version:\fP 2.1
+ − 31
.br
+ − 32
\f3Implementation Version:\fP 2.1.1
+ − 33
.LP
+ − 34
.LP
+ − 35
The \f2wsgen\fP tool generates JAX\-WS portable artifacts used in JAX\-WS web services. The tool reads a web service endpoint implementation class (SEI) and generates all the required artifacts for web service deployment, and invocation
2
+ − 36
.LP
+ − 37
.RE
2692
+ − 38
.SH "Overview"
+ − 39
.LP
+ − 40
The \f2wsgen\fP tool 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 wsgen ant task, see
+ − 41
.na
+ − 42
\f2Wsgen ant task\fP @
+ − 43
.fi
+ − 44
https://jax\-ws.dev.java.net/nonav/2.1.1/docs/wsgenant.html for details.
2
+ − 45
.LP
2692
+ − 46
.SH "Launching wsgen"
+ − 47
.RS 3
+ − 48
.TP 2
+ − 49
o
+ − 50
\f3Solaris/Linux\fP
+ − 51
.RS 3
+ − 52
.TP 2
+ − 53
*
+ − 54
\f2export JAXWS_HOME=/pathto/jaxws\-ri\fP
+ − 55
.TP 2
+ − 56
*
+ − 57
\f2$JAXWS_HOME/bin/wsgen.sh \-help\fP
+ − 58
.RE
+ − 59
.TP 2
+ − 60
o
+ − 61
\f3Windows\fP
+ − 62
.RS 3
+ − 63
.TP 2
+ − 64
*
+ − 65
\f2set JAXWS_HOME=c:\\pathto\\jaxws\-ri\fP
+ − 66
.TP 2
+ − 67
*
+ − 68
\f2%JAXWS_HOME%\\bin\\wsgen.bat \-help\fP
+ − 69
.RE
+ − 70
.RE
2
+ − 71
+ − 72
.LP
2692
+ − 73
.SH "Syntax"
2
+ − 74
.nf
+ − 75
\f3
+ − 76
.fl
2692
+ − 77
wsgen [options] <SEI>\fP
+ − 78
.br
+ − 79
\f3
2
+ − 80
.fl
+ − 81
\fP
+ − 82
.fi
+ − 83
.LP
+ − 84
The following table lists the \f2wsgen\fP options.
+ − 85
.br
+ − 86
.LP
+ − 87
.TS
+ − 88
.if \n+(b.=1 .nr d. \n(.c-\n(c.-1
+ − 89
.de 35
+ − 90
.ps \n(.s
+ − 91
.vs \n(.vu
+ − 92
.in \n(.iu
+ − 93
.if \n(.u .fi
+ − 94
.if \n(.j .ad
+ − 95
.if \n(.j=0 .na
+ − 96
..
+ − 97
.nf
+ − 98
.nr #~ 0
+ − 99
.if n .nr #~ 0.6n
+ − 100
.ds #d .d
+ − 101
.if \(ts\n(.z\(ts\(ts .ds #d nl
+ − 102
.fc
+ − 103
.nr 33 \n(.s
+ − 104
.rm 80 81
+ − 105
.nr 34 \n(.lu
+ − 106
.eo
+ − 107
.am 81
+ − 108
.br
+ − 109
.di a+
+ − 110
.35
+ − 111
.ft \n(.f
+ − 112
.ll \n(34u*1u/3u
+ − 113
.if \n(.l<\n(81 .ll \n(81u
+ − 114
.in 0
+ − 115
Specify where to find input class files
+ − 116
.br
+ − 117
.di
+ − 118
.nr a| \n(dn
+ − 119
.nr a- \n(dl
+ − 120
..
+ − 121
.ec \
+ − 122
.eo
+ − 123
.am 81
+ − 124
.br
+ − 125
.di b+
+ − 126
.35
+ − 127
.ft \n(.f
+ − 128
.ll \n(34u*1u/3u
+ − 129
.if \n(.l<\n(81 .ll \n(81u
+ − 130
.in 0
+ − 131
Same as \f2\-classpath <path>\fP
+ − 132
.br
+ − 133
.di
+ − 134
.nr b| \n(dn
+ − 135
.nr b- \n(dl
+ − 136
..
+ − 137
.ec \
+ − 138
.eo
+ − 139
.am 81
+ − 140
.br
+ − 141
.di c+
+ − 142
.35
+ − 143
.ft \n(.f
+ − 144
.ll \n(34u*1u/3u
+ − 145
.if \n(.l<\n(81 .ll \n(81u
+ − 146
.in 0
+ − 147
Specify where to place generated output files
+ − 148
.br
+ − 149
.di
+ − 150
.nr c| \n(dn
+ − 151
.nr c- \n(dl
+ − 152
..
+ − 153
.ec \
+ − 154
.eo
+ − 155
.am 81
+ − 156
.br
+ − 157
.di d+
+ − 158
.35
+ − 159
.ft \n(.f
+ − 160
.ll \n(34u*1u/3u
+ − 161
.if \n(.l<\n(81 .ll \n(81u
+ − 162
.in 0
+ − 163
allow vendor extensions (functionality not specified by the specification). Use of extensions may result in applications that are not portable or may not interoperate with other implementations
+ − 164
.br
+ − 165
.di
+ − 166
.nr d| \n(dn
+ − 167
.nr d- \n(dl
+ − 168
..
+ − 169
.ec \
+ − 170
.eo
+ − 171
.am 81
+ − 172
.br
+ − 173
.di e+
+ − 174
.35
+ − 175
.ft \n(.f
+ − 176
.ll \n(34u*1u/3u
+ − 177
.if \n(.l<\n(81 .ll \n(81u
+ − 178
.in 0
+ − 179
Used only in conjunction with the \-wsdl option. Specify where to place generated resource files such as WSDLs
+ − 180
.br
+ − 181
.di
+ − 182
.nr e| \n(dn
+ − 183
.nr e- \n(dl
+ − 184
..
+ − 185
.ec \
+ − 186
.eo
+ − 187
.am 81
+ − 188
.br
+ − 189
.di f+
+ − 190
.35
+ − 191
.ft \n(.f
+ − 192
.ll \n(34u*1u/3u
+ − 193
.if \n(.l<\n(81 .ll \n(81u
+ − 194
.in 0
+ − 195
Specify where to place generated source files
+ − 196
.br
+ − 197
.di
+ − 198
.nr f| \n(dn
+ − 199
.nr f- \n(dl
+ − 200
..
+ − 201
.ec \
+ − 202
.eo
+ − 203
.am 81
+ − 204
.br
+ − 205
.di g+
+ − 206
.35
+ − 207
.ft \n(.f
+ − 208
.ll \n(34u*1u/3u
+ − 209
.if \n(.l<\n(81 .ll \n(81u
+ − 210
.in 0
+ − 211
Output messages about what the compiler is doing
+ − 212
.br
+ − 213
.di
+ − 214
.nr g| \n(dn
+ − 215
.nr g- \n(dl
+ − 216
..
+ − 217
.ec \
+ − 218
.eo
+ − 219
.am 81
+ − 220
.br
+ − 221
.di h+
+ − 222
.35
+ − 223
.ft \n(.f
+ − 224
.ll \n(34u*1u/3u
+ − 225
.if \n(.l<\n(81 .ll \n(81u
+ − 226
.in 0
+ − 227
Print version information. Use of this option will ONLY print version information. Normal processing will not occur.
+ − 228
.br
+ − 229
.di
+ − 230
.nr h| \n(dn
+ − 231
.nr h- \n(dl
+ − 232
..
+ − 233
.ec \
+ − 234
.eo
2692
+ − 235
.am 81
2
+ − 236
.br
+ − 237
.di i+
+ − 238
.35
+ − 239
.ft \n(.f
+ − 240
.ll \n(34u*1u/3u
2692
+ − 241
.if \n(.l<\n(81 .ll \n(81u
2
+ − 242
.in 0
2692
+ − 243
By default \f2wsgen\fP does not generate a WSDL file. This flag is optional and will cause \f2wsgen\fP to generate a WSDL file and is usually only used so that the developer can look at the WSDL before the endpoint is deploy. The \f2protocol\fP is optional and is used to specify what protocol should be used in the \f2wsdl:binding\fP. Valid protocols include: \f2soap1.1\fP and \f2Xsoap1.2\fP. The default is \f2soap1.1\fP. \f2Xsoap1.2\fP is not standard and can only be used in conjunction with the \f2\-extension\fP option.
2
+ − 244
.br
+ − 245
.di
+ − 246
.nr i| \n(dn
+ − 247
.nr i- \n(dl
+ − 248
..
+ − 249
.ec \
+ − 250
.eo
+ − 251
.am 81
+ − 252
.br
+ − 253
.di j+
+ − 254
.35
+ − 255
.ft \n(.f
+ − 256
.ll \n(34u*1u/3u
+ − 257
.if \n(.l<\n(81 .ll \n(81u
+ − 258
.in 0
2692
+ − 259
Used only in conjunction with the \f2\-wsdl\fP option. Used to specify a particular \f2wsdl:service\fP name to be generated in the WSDL. Example, \f2\-servicename "{http://mynamespace/}MyService"\fP
2
+ − 260
.br
+ − 261
.di
+ − 262
.nr j| \n(dn
+ − 263
.nr j- \n(dl
+ − 264
..
+ − 265
.ec \
+ − 266
.eo
+ − 267
.am 81
+ − 268
.br
+ − 269
.di k+
+ − 270
.35
+ − 271
.ft \n(.f
+ − 272
.ll \n(34u*1u/3u
+ − 273
.if \n(.l<\n(81 .ll \n(81u
+ − 274
.in 0
2692
+ − 275
Used only in conjunction with the \f2\-wsdl\fP option. Used to specify a particular \f2wsdl:port\fP name to be generated in the WSDL. Example, \f2\-portname "{http://mynamespace/}MyPort"\fP
+ − 276
.br
2
+ − 277
.br
+ − 278
.di
+ − 279
.nr k| \n(dn
+ − 280
.nr k- \n(dl
+ − 281
..
+ − 282
.ec \
+ − 283
.35
+ − 284
.nf
+ − 285
.ll \n(34u
+ − 286
.nr 80 0
+ − 287
.nr 38 \w\f3Option\fP
+ − 288
.if \n(80<\n(38 .nr 80 \n(38
2692
+ − 289
.nr 38 \w\f4\-classpath <path>\fP
2
+ − 290
.if \n(80<\n(38 .nr 80 \n(38
2692
+ − 291
.nr 38 \w\f4\-cp <path>\fP
2
+ − 292
.if \n(80<\n(38 .nr 80 \n(38
2692
+ − 293
.nr 38 \w\f4\-d <directory>\fP
2
+ − 294
.if \n(80<\n(38 .nr 80 \n(38
2692
+ − 295
.nr 38 \w\f4\-extension\fP
2
+ − 296
.if \n(80<\n(38 .nr 80 \n(38
2692
+ − 297
.nr 38 \w\f4\-help\fP
2
+ − 298
.if \n(80<\n(38 .nr 80 \n(38
2692
+ − 299
.nr 38 \w\f4\-keep\fP
2
+ − 300
.if \n(80<\n(38 .nr 80 \n(38
2692
+ − 301
.nr 38 \w\f4\-r <directory>\fP
2
+ − 302
.if \n(80<\n(38 .nr 80 \n(38
2692
+ − 303
.nr 38 \w\f4\-s <directory>\fP
2
+ − 304
.if \n(80<\n(38 .nr 80 \n(38
2692
+ − 305
.nr 38 \w\f4\-verbose\fP
2
+ − 306
.if \n(80<\n(38 .nr 80 \n(38
2692
+ − 307
.nr 38 \w\f4\-version\fP
+ − 308
.if \n(80<\n(38 .nr 80 \n(38
+ − 309
.nr 38 \w\f4\-wsdl[:protocol]\fP
2
+ − 310
.if \n(80<\n(38 .nr 80 \n(38
2692
+ − 311
.nr 38 \w\f4\-servicename <name>\fP
2
+ − 312
.if \n(80<\n(38 .nr 80 \n(38
2692
+ − 313
.nr 38 \w\f4\-portname <name>\fP
2
+ − 314
.if \n(80<\n(38 .nr 80 \n(38
+ − 315
.80
+ − 316
.rm 80
+ − 317
.nr 81 0
+ − 318
.nr 38 \w\f3Description\fP
+ − 319
.if \n(81<\n(38 .nr 81 \n(38
+ − 320
.nr 38 \wDisplay help
+ − 321
.if \n(81<\n(38 .nr 81 \n(38
+ − 322
.nr 38 \wKeep generated files
+ − 323
.if \n(81<\n(38 .nr 81 \n(38
+ − 324
.81
+ − 325
.rm 81
+ − 326
.nr 38 \n(a-
+ − 327
.if \n(81<\n(38 .nr 81 \n(38
+ − 328
.nr 38 \n(b-
+ − 329
.if \n(81<\n(38 .nr 81 \n(38
+ − 330
.nr 38 \n(c-
+ − 331
.if \n(81<\n(38 .nr 81 \n(38
+ − 332
.nr 38 \n(d-
+ − 333
.if \n(81<\n(38 .nr 81 \n(38
+ − 334
.nr 38 \n(e-
+ − 335
.if \n(81<\n(38 .nr 81 \n(38
+ − 336
.nr 38 \n(f-
+ − 337
.if \n(81<\n(38 .nr 81 \n(38
+ − 338
.nr 38 \n(g-
+ − 339
.if \n(81<\n(38 .nr 81 \n(38
+ − 340
.nr 38 \n(h-
+ − 341
.if \n(81<\n(38 .nr 81 \n(38
2692
+ − 342
.nr 38 \n(i-
+ − 343
.if \n(81<\n(38 .nr 81 \n(38
2
+ − 344
.nr 38 \n(j-
+ − 345
.if \n(81<\n(38 .nr 81 \n(38
+ − 346
.nr 38 \n(k-
+ − 347
.if \n(81<\n(38 .nr 81 \n(38
+ − 348
.35
+ − 349
.nf
+ − 350
.ll \n(34u
+ − 351
.nr 38 1n
+ − 352
.nr 79 0
+ − 353
.nr 40 \n(79+(0*\n(38)
+ − 354
.nr 80 +\n(40
+ − 355
.nr 41 \n(80+(3*\n(38)
+ − 356
.nr 81 +\n(41
+ − 357
.nr TW \n(81
2692
+ − 358
.if t .if \n(TW>\n(.li .tm Table at line 140 file Input is too wide - \n(TW units
2
+ − 359
.fc
+ − 360
.nr #T 0-1
+ − 361
.nr #a 0-1
+ − 362
.eo
+ − 363
.de T#
+ − 364
.ds #d .d
+ − 365
.if \(ts\n(.z\(ts\(ts .ds #d nl
+ − 366
.mk ##
+ − 367
.nr ## -1v
+ − 368
.ls 1
+ − 369
.ls
+ − 370
..
+ − 371
.ec
+ − 372
.ta \n(80u \n(81u
+ − 373
.nr 31 \n(.f
+ − 374
.nr 35 1m
+ − 375
\&\h'|\n(40u'\f3Option\fP\h'|\n(41u'\f3Description\fP
+ − 376
.ne \n(a|u+\n(.Vu
+ − 377
.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v)
+ − 378
.ta \n(80u \n(81u
+ − 379
.nr 31 \n(.f
+ − 380
.nr 35 1m
2692
+ − 381
\&\h'|\n(40u'\f4\-classpath <path>\fP\h'|\n(41u'
2
+ − 382
.mk ##
+ − 383
.nr 31 \n(##
+ − 384
.sp |\n(##u-1v
+ − 385
.nr 37 \n(41u
+ − 386
.in +\n(37u
+ − 387
.a+
+ − 388
.in -\n(37u
+ − 389
.mk 32
+ − 390
.if \n(32>\n(31 .nr 31 \n(32
+ − 391
.sp |\n(31u
+ − 392
.ne \n(b|u+\n(.Vu
+ − 393
.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v)
+ − 394
.ta \n(80u \n(81u
+ − 395
.nr 31 \n(.f
+ − 396
.nr 35 1m
2692
+ − 397
\&\h'|\n(40u'\f4\-cp <path>\fP\h'|\n(41u'
2
+ − 398
.mk ##
+ − 399
.nr 31 \n(##
+ − 400
.sp |\n(##u-1v
+ − 401
.nr 37 \n(41u
+ − 402
.in +\n(37u
+ − 403
.b+
+ − 404
.in -\n(37u
+ − 405
.mk 32
+ − 406
.if \n(32>\n(31 .nr 31 \n(32
+ − 407
.sp |\n(31u
+ − 408
.ne \n(c|u+\n(.Vu
+ − 409
.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v)
+ − 410
.ta \n(80u \n(81u
+ − 411
.nr 31 \n(.f
+ − 412
.nr 35 1m
2692
+ − 413
\&\h'|\n(40u'\f4\-d <directory>\fP\h'|\n(41u'
2
+ − 414
.mk ##
+ − 415
.nr 31 \n(##
+ − 416
.sp |\n(##u-1v
+ − 417
.nr 37 \n(41u
+ − 418
.in +\n(37u
+ − 419
.c+
+ − 420
.in -\n(37u
+ − 421
.mk 32
+ − 422
.if \n(32>\n(31 .nr 31 \n(32
+ − 423
.sp |\n(31u
+ − 424
.ne \n(d|u+\n(.Vu
+ − 425
.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v)
+ − 426
.ta \n(80u \n(81u
+ − 427
.nr 31 \n(.f
+ − 428
.nr 35 1m
2692
+ − 429
\&\h'|\n(40u'\f4\-extension\fP\h'|\n(41u'
2
+ − 430
.mk ##
+ − 431
.nr 31 \n(##
+ − 432
.sp |\n(##u-1v
+ − 433
.nr 37 \n(41u
+ − 434
.in +\n(37u
+ − 435
.d+
+ − 436
.in -\n(37u
+ − 437
.mk 32
+ − 438
.if \n(32>\n(31 .nr 31 \n(32
+ − 439
.sp |\n(31u
+ − 440
.ta \n(80u \n(81u
+ − 441
.nr 31 \n(.f
+ − 442
.nr 35 1m
2692
+ − 443
\&\h'|\n(40u'\f4\-help\fP\h'|\n(41u'Display help
2
+ − 444
.ta \n(80u \n(81u
+ − 445
.nr 31 \n(.f
+ − 446
.nr 35 1m
2692
+ − 447
\&\h'|\n(40u'\f4\-keep\fP\h'|\n(41u'Keep generated files
2
+ − 448
.ne \n(e|u+\n(.Vu
+ − 449
.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v)
+ − 450
.ta \n(80u \n(81u
+ − 451
.nr 31 \n(.f
+ − 452
.nr 35 1m
2692
+ − 453
\&\h'|\n(40u'\f4\-r <directory>\fP\h'|\n(41u'
2
+ − 454
.mk ##
+ − 455
.nr 31 \n(##
+ − 456
.sp |\n(##u-1v
+ − 457
.nr 37 \n(41u
+ − 458
.in +\n(37u
+ − 459
.e+
+ − 460
.in -\n(37u
+ − 461
.mk 32
+ − 462
.if \n(32>\n(31 .nr 31 \n(32
+ − 463
.sp |\n(31u
+ − 464
.ne \n(f|u+\n(.Vu
+ − 465
.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v)
+ − 466
.ta \n(80u \n(81u
+ − 467
.nr 31 \n(.f
+ − 468
.nr 35 1m
2692
+ − 469
\&\h'|\n(40u'\f4\-s <directory>\fP\h'|\n(41u'
2
+ − 470
.mk ##
+ − 471
.nr 31 \n(##
+ − 472
.sp |\n(##u-1v
+ − 473
.nr 37 \n(41u
+ − 474
.in +\n(37u
+ − 475
.f+
+ − 476
.in -\n(37u
+ − 477
.mk 32
+ − 478
.if \n(32>\n(31 .nr 31 \n(32
+ − 479
.sp |\n(31u
+ − 480
.ne \n(g|u+\n(.Vu
+ − 481
.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v)
+ − 482
.ta \n(80u \n(81u
+ − 483
.nr 31 \n(.f
+ − 484
.nr 35 1m
2692
+ − 485
\&\h'|\n(40u'\f4\-verbose\fP\h'|\n(41u'
2
+ − 486
.mk ##
+ − 487
.nr 31 \n(##
+ − 488
.sp |\n(##u-1v
+ − 489
.nr 37 \n(41u
+ − 490
.in +\n(37u
+ − 491
.g+
+ − 492
.in -\n(37u
+ − 493
.mk 32
+ − 494
.if \n(32>\n(31 .nr 31 \n(32
+ − 495
.sp |\n(31u
+ − 496
.ne \n(h|u+\n(.Vu
+ − 497
.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v)
+ − 498
.ta \n(80u \n(81u
+ − 499
.nr 31 \n(.f
+ − 500
.nr 35 1m
2692
+ − 501
\&\h'|\n(40u'\f4\-version\fP\h'|\n(41u'
2
+ − 502
.mk ##
+ − 503
.nr 31 \n(##
+ − 504
.sp |\n(##u-1v
+ − 505
.nr 37 \n(41u
+ − 506
.in +\n(37u
+ − 507
.h+
+ − 508
.in -\n(37u
+ − 509
.mk 32
+ − 510
.if \n(32>\n(31 .nr 31 \n(32
+ − 511
.sp |\n(31u
+ − 512
.ne \n(i|u+\n(.Vu
+ − 513
.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v)
+ − 514
.ta \n(80u \n(81u
+ − 515
.nr 31 \n(.f
+ − 516
.nr 35 1m
2692
+ − 517
\&\h'|\n(40u'\f4\-wsdl[:protocol]\fP\h'|\n(41u'
2
+ − 518
.mk ##
+ − 519
.nr 31 \n(##
+ − 520
.sp |\n(##u-1v
2692
+ − 521
.nr 37 \n(41u
2
+ − 522
.in +\n(37u
+ − 523
.i+
+ − 524
.in -\n(37u
+ − 525
.mk 32
+ − 526
.if \n(32>\n(31 .nr 31 \n(32
2692
+ − 527
.sp |\n(31u
+ − 528
.ne \n(j|u+\n(.Vu
+ − 529
.if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v)
+ − 530
.ta \n(80u \n(81u
+ − 531
.nr 31 \n(.f
+ − 532
.nr 35 1m
+ − 533
\&\h'|\n(40u'\f4\-servicename <name>\fP\h'|\n(41u'
+ − 534
.mk ##
+ − 535
.nr 31 \n(##
2
+ − 536
.sp |\n(##u-1v
+ − 537
.nr 37 \n(41u
+ − 538
.in +\n(37u
+ − 539
.j+
+ − 540
.in -\n(37u
+ − 541
.mk 32
+ − 542
.if \n(32>\n(31 .nr 31 \n(32
+ − 543
.sp |\n(31u
+ − 544
.ne \n(k|u+\n(.Vu
+ − 545
.if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v)
+ − 546
.ta \n(80u \n(81u
+ − 547
.nr 31 \n(.f
+ − 548
.nr 35 1m
2692
+ − 549
\&\h'|\n(40u'\f4\-portname <name>\fP\h'|\n(41u'
2
+ − 550
.mk ##
+ − 551
.nr 31 \n(##
+ − 552
.sp |\n(##u-1v
+ − 553
.nr 37 \n(41u
+ − 554
.in +\n(37u
+ − 555
.k+
+ − 556
.in -\n(37u
+ − 557
.mk 32
+ − 558
.if \n(32>\n(31 .nr 31 \n(32
+ − 559
.sp |\n(31u
+ − 560
.fc
+ − 561
.nr T. 1
+ − 562
.T# 1
+ − 563
.35
+ − 564
.rm a+
+ − 565
.rm b+
+ − 566
.rm c+
+ − 567
.rm d+
+ − 568
.rm e+
+ − 569
.rm f+
+ − 570
.rm g+
+ − 571
.rm h+
+ − 572
.rm i+
+ − 573
.rm j+
+ − 574
.rm k+
+ − 575
.TE
2692
+ − 576
.if \n-(b.=0 .nr c. \n(.c-\n(d.-53
2
+ − 577
+ − 578
.LP
2692
+ − 579
.SH "Example"
+ − 580
.nf
+ − 581
\f3
+ − 582
.fl
+ − 583
\fP\f3wsgen \-d stock \-cp myclasspath stock.StockService\fP
+ − 584
.fl
+ − 585
.fi
2
+ − 586
.LP
2692
+ − 587
This will generate the wrapper classes needed for StockService annotated with @WebService annotation inside \f3stock\fPdirectory.
2
+ − 588
.nf
+ − 589
\f3
+ − 590
.fl
2692
+ − 591
\fP\f3wsgen \-wsdl \-d stock \-cp myclasspath stock.StockService\fP
2
+ − 592
.fl
+ − 593
.fi
+ − 594
.LP
2692
+ − 595
This will generate a SOAP 1.1 WSDL and schema for your Java class stock.StockService annotated with @WebService annotation.
2
+ − 596
.nf
+ − 597
\f3
+ − 598
.fl
2692
+ − 599
\fP\f3wsgen \-wsdl:Xsoap1.2 \-d stock \-cp myclasspath stock.StockService\fP
2
+ − 600
.fl
+ − 601
.fi
+ − 602
.LP
2692
+ − 603
Will generate a SOAP 1.2 WSDL.
2
+ − 604
.LP
2692
+ − 605
Note that you do not have to generate WSDL at the development time as JAXWS runtime will automatically generate a WSDL for you when you deploy your service.