jdk/src/solaris/doc/sun/man/man1/wsimport.1
changeset 2 90ce3da70b43
child 2692 345bc8d65b19
equal deleted inserted replaced
0:fd16c54261b3 2:90ce3da70b43
       
     1 .'" t
       
     2 ." Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
       
     3 ." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       
     4 ."
       
     5 ." This code is free software; you can redistribute it and/or modify it
       
     6 ." under the terms of the GNU General Public License version 2 only, as
       
     7 ." published by the Free Software Foundation.
       
     8 ."
       
     9 ." This code is distributed in the hope that it will be useful, but WITHOUT
       
    10 ." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
       
    11 ." FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
       
    12 ." version 2 for more details (a copy is included in the LICENSE file that
       
    13 ." accompanied this code).
       
    14 ."
       
    15 ." You should have received a copy of the GNU General Public License version
       
    16 ." 2 along with this work; if not, write to the Free Software Foundation,
       
    17 ." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
       
    18 ."
       
    19 ." Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
       
    20 ." CA 95054 USA or visit www.sun.com if you need additional information or
       
    21 ." have any questions.
       
    22 ." ` 
       
    23 .TH wsimport 1 "07 Aug 2006"
       
    24 ." Generated by html2man
       
    25 
       
    26 .LP
       
    27 .SH NAME
       
    28 wsimport \- JAX\-WS 2.0 Beta
       
    29 .LP
       
    30 .SH "SYNOPSIS"
       
    31 .LP
       
    32 
       
    33 .LP
       
    34 .nf
       
    35 \f3
       
    36 .fl
       
    37 wsimport [options] <wsdl>
       
    38 .fl
       
    39 \fP
       
    40 .fi
       
    41 
       
    42 .LP
       
    43 .SH "DESCRIPTION"
       
    44 .LP
       
    45 .LP
       
    46 The \f2wsimport\fP tool generates JAX\-WS portable artifacts, such as:
       
    47 .LP
       
    48 .RS 3
       
    49 .TP 2
       
    50 o
       
    51 Service Endpoint Interface (SEI) 
       
    52 .TP 2
       
    53 o
       
    54 Service 
       
    55 .TP 2
       
    56 o
       
    57 Exception class mapped from wsdl:fault (if any) 
       
    58 .TP 2
       
    59 o
       
    60 Async Reponse Bean derived from response wsdl:message (if any) 
       
    61 .TP 2
       
    62 o
       
    63 JAXB generated value types (mapped java classes from schema types) 
       
    64 .RE
       
    65 
       
    66 .LP
       
    67 .LP
       
    68 These artifacts can be packaged in a WAR file with the WSDL and schema documents along with the endpoint implementation to be deployed.
       
    69 .br
       
    70 
       
    71 .LP
       
    72 .LP
       
    73 wsimport tool can be launched using the command line script wsimport.sh (Unix) or wsimport.bat(windows). There is also and ant task to import and compile the wsdl, see the details below.
       
    74 .br
       
    75 
       
    76 .LP
       
    77 .SH "OPTIONS"
       
    78 .LP
       
    79 .LP
       
    80 The following table lists the \f2wsimport\fP options.
       
    81 .br
       
    82 
       
    83 .LP
       
    84 .LP
       
    85 Table 1\-1 wsimport Options
       
    86 .LP
       
    87 .LP
       
    88 .TS
       
    89 .if \n+(b.=1 .nr d. \n(.c-\n(c.-1
       
    90 .de 35
       
    91 .ps \n(.s
       
    92 .vs \n(.vu
       
    93 .in \n(.iu
       
    94 .if \n(.u .fi
       
    95 .if \n(.j .ad
       
    96 .if \n(.j=0 .na
       
    97 ..
       
    98 .nf
       
    99 .nr #~ 0
       
   100 .if n .nr #~ 0.6n
       
   101 .ds #d .d
       
   102 .if \(ts\n(.z\(ts\(ts .ds #d nl
       
   103 .fc
       
   104 .nr 33 \n(.s
       
   105 .rm 80 81
       
   106 .nr 34 \n(.lu
       
   107 .eo
       
   108 .am 81
       
   109 .br
       
   110 .di a+
       
   111 .35
       
   112 .ft \n(.f
       
   113 .ll \n(34u*1u/3u
       
   114 .if \n(.l<\n(81 .ll \n(81u
       
   115 .in 0
       
   116 Specify where to place generated output files
       
   117 .br
       
   118 .di
       
   119 .nr a| \n(dn
       
   120 .nr a- \n(dl
       
   121 ..
       
   122 .ec \
       
   123 .eo
       
   124 .am 81
       
   125 .br
       
   126 .di b+
       
   127 .35
       
   128 .ft \n(.f
       
   129 .ll \n(34u*1u/3u
       
   130 .if \n(.l<\n(81 .ll \n(81u
       
   131 .in 0
       
   132 Specify external JAX\-WS or JAXB binding files (Each \f2<file>\fP must have its own \f2\-b\fP)
       
   133 .br
       
   134 .di
       
   135 .nr b| \n(dn
       
   136 .nr b- \n(dl
       
   137 ..
       
   138 .ec \
       
   139 .eo
       
   140 .am 81
       
   141 .br
       
   142 .di c+
       
   143 .35
       
   144 .ft \n(.f
       
   145 .ll \n(34u*1u/3u
       
   146 .if \n(.l<\n(81 .ll \n(81u
       
   147 .in 0
       
   148 Specify catalog file to resolve external entity references, it supports TR9401, XCatalog, and OASIS XML Catalog format. Please read the XML Entity and URI Resolvers document or see \f3wsimport_catalog\fP sample.
       
   149 .br
       
   150 .di
       
   151 .nr c| \n(dn
       
   152 .nr c- \n(dl
       
   153 ..
       
   154 .ec \
       
   155 .eo
       
   156 .am 81
       
   157 .br
       
   158 .di d+
       
   159 .35
       
   160 .ft \n(.f
       
   161 .ll \n(34u*1u/3u
       
   162 .if \n(.l<\n(81 .ll \n(81u
       
   163 .in 0
       
   164 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
       
   165 .br
       
   166 .di
       
   167 .nr d| \n(dn
       
   168 .nr d- \n(dl
       
   169 ..
       
   170 .ec \
       
   171 .eo
       
   172 .am 80
       
   173 .br
       
   174 .di e+
       
   175 .35
       
   176 .ft \n(.f
       
   177 .ll \n(34u*1u/3u
       
   178 .if \n(.l<\n(80 .ll \n(80u
       
   179 .in 0
       
   180 \f2\-httpproxy:<host>:<port>\fP
       
   181 .br
       
   182 .di
       
   183 .nr e| \n(dn
       
   184 .nr e- \n(dl
       
   185 ..
       
   186 .ec \
       
   187 .eo
       
   188 .am 81
       
   189 .br
       
   190 .di f+
       
   191 .35
       
   192 .ft \n(.f
       
   193 .ll \n(34u*1u/3u
       
   194 .if \n(.l<\n(81 .ll \n(81u
       
   195 .in 0
       
   196 Specify an HTTP proxy server (port defaults to 8080)
       
   197 .br
       
   198 .di
       
   199 .nr f| \n(dn
       
   200 .nr f- \n(dl
       
   201 ..
       
   202 .ec \
       
   203 .eo
       
   204 .am 81
       
   205 .br
       
   206 .di g+
       
   207 .35
       
   208 .ft \n(.f
       
   209 .ll \n(34u*1u/3u
       
   210 .if \n(.l<\n(81 .ll \n(81u
       
   211 .in 0
       
   212 Specifying a target package via this command\-line option, overrides any wsdl and schema binding customization for package name and the default package name algorithm defined in the specification
       
   213 .br
       
   214 .di
       
   215 .nr g| \n(dn
       
   216 .nr g- \n(dl
       
   217 ..
       
   218 .ec \
       
   219 .eo
       
   220 .am 81
       
   221 .br
       
   222 .di h+
       
   223 .35
       
   224 .ft \n(.f
       
   225 .ll \n(34u*1u/3u
       
   226 .if \n(.l<\n(81 .ll \n(81u
       
   227 .in 0
       
   228 Specify where to place generated source files
       
   229 .br
       
   230 .di
       
   231 .nr h| \n(dn
       
   232 .nr h- \n(dl
       
   233 ..
       
   234 .ec \
       
   235 .eo
       
   236 .am 81
       
   237 .br
       
   238 .di i+
       
   239 .35
       
   240 .ft \n(.f
       
   241 .ll \n(34u*1u/3u
       
   242 .if \n(.l<\n(81 .ll \n(81u
       
   243 .in 0
       
   244 Output messages about what the compiler is doing
       
   245 .br
       
   246 .di
       
   247 .nr i| \n(dn
       
   248 .nr i- \n(dl
       
   249 ..
       
   250 .ec \
       
   251 .eo
       
   252 .am 81
       
   253 .br
       
   254 .di j+
       
   255 .35
       
   256 .ft \n(.f
       
   257 .ll \n(34u*1u/3u
       
   258 .if \n(.l<\n(81 .ll \n(81u
       
   259 .in 0
       
   260 Print version information
       
   261 .br
       
   262 .di
       
   263 .nr j| \n(dn
       
   264 .nr j- \n(dl
       
   265 ..
       
   266 .ec \
       
   267 .eo
       
   268 .am 80
       
   269 .br
       
   270 .di k+
       
   271 .35
       
   272 .ft \n(.f
       
   273 .ll \n(34u*1u/3u
       
   274 .if \n(.l<\n(80 .ll \n(80u
       
   275 .in 0
       
   276 \f2\-wsdllocation <location>\fP
       
   277 .br
       
   278 .br
       
   279 .di
       
   280 .nr k| \n(dn
       
   281 .nr k- \n(dl
       
   282 ..
       
   283 .ec \
       
   284 .eo
       
   285 .am 81
       
   286 .br
       
   287 .di l+
       
   288 .35
       
   289 .ft \n(.f
       
   290 .ll \n(34u*1u/3u
       
   291 .if \n(.l<\n(81 .ll \n(81u
       
   292 .in 0
       
   293 \f2@WebService.wsdlLocation\fP and \f2@WebServiceClient.wsdlLocation\fP value
       
   294 .br
       
   295 .br
       
   296 .di
       
   297 .nr l| \n(dn
       
   298 .nr l- \n(dl
       
   299 ..
       
   300 .ec \
       
   301 .35
       
   302 .nf
       
   303 .ll \n(34u
       
   304 .nr 80 0
       
   305 .nr 38 \w\f3Option\fP
       
   306 .if \n(80<\n(38 .nr 80 \n(38
       
   307 .nr 38 \w\f2\-d <directory>\fP
       
   308 .if \n(80<\n(38 .nr 80 \n(38
       
   309 .nr 38 \w\f2\-b <path>\fP
       
   310 .if \n(80<\n(38 .nr 80 \n(38
       
   311 .nr 38 \w\-catalog
       
   312 .if \n(80<\n(38 .nr 80 \n(38
       
   313 .nr 38 \w\f2\-extension\fP
       
   314 .if \n(80<\n(38 .nr 80 \n(38
       
   315 .nr 38 \w\f2\-help\fP
       
   316 .if \n(80<\n(38 .nr 80 \n(38
       
   317 .nr 38 \w\f2\-keep\fP
       
   318 .if \n(80<\n(38 .nr 80 \n(38
       
   319 .nr 38 \w\f2\-p\fP
       
   320 .if \n(80<\n(38 .nr 80 \n(38
       
   321 .nr 38 \w\f2\-s <directory>\fP
       
   322 .if \n(80<\n(38 .nr 80 \n(38
       
   323 .nr 38 \w\f2\-verbose\fP
       
   324 .if \n(80<\n(38 .nr 80 \n(38
       
   325 .nr 38 \w\f2\-version\fP
       
   326 .if \n(80<\n(38 .nr 80 \n(38
       
   327 .80
       
   328 .rm 80
       
   329 .nr 38 \n(e-
       
   330 .if \n(80<\n(38 .nr 80 \n(38
       
   331 .nr 38 \n(k-
       
   332 .if \n(80<\n(38 .nr 80 \n(38
       
   333 .nr 81 0
       
   334 .nr 38 \w\f3Description\fP
       
   335 .if \n(81<\n(38 .nr 81 \n(38
       
   336 .nr 38 \wDisplay help
       
   337 .if \n(81<\n(38 .nr 81 \n(38
       
   338 .nr 38 \wKeep generated files
       
   339 .if \n(81<\n(38 .nr 81 \n(38
       
   340 .81
       
   341 .rm 81
       
   342 .nr 38 \n(a-
       
   343 .if \n(81<\n(38 .nr 81 \n(38
       
   344 .nr 38 \n(b-
       
   345 .if \n(81<\n(38 .nr 81 \n(38
       
   346 .nr 38 \n(c-
       
   347 .if \n(81<\n(38 .nr 81 \n(38
       
   348 .nr 38 \n(d-
       
   349 .if \n(81<\n(38 .nr 81 \n(38
       
   350 .nr 38 \n(f-
       
   351 .if \n(81<\n(38 .nr 81 \n(38
       
   352 .nr 38 \n(g-
       
   353 .if \n(81<\n(38 .nr 81 \n(38
       
   354 .nr 38 \n(h-
       
   355 .if \n(81<\n(38 .nr 81 \n(38
       
   356 .nr 38 \n(i-
       
   357 .if \n(81<\n(38 .nr 81 \n(38
       
   358 .nr 38 \n(j-
       
   359 .if \n(81<\n(38 .nr 81 \n(38
       
   360 .nr 38 \n(l-
       
   361 .if \n(81<\n(38 .nr 81 \n(38
       
   362 .35
       
   363 .nf
       
   364 .ll \n(34u
       
   365 .nr 38 1n
       
   366 .nr 79 0
       
   367 .nr 40 \n(79+(0*\n(38)
       
   368 .nr 80 +\n(40
       
   369 .nr 41 \n(80+(3*\n(38)
       
   370 .nr 81 +\n(41
       
   371 .nr TW \n(81
       
   372 .if t .if \n(TW>\n(.li .tm Table at line 124 file Input is too wide - \n(TW units
       
   373 .fc  
       
   374 .nr #T 0-1
       
   375 .nr #a 0-1
       
   376 .eo
       
   377 .de T#
       
   378 .ds #d .d
       
   379 .if \(ts\n(.z\(ts\(ts .ds #d nl
       
   380 .mk ##
       
   381 .nr ## -1v
       
   382 .ls 1
       
   383 .ls
       
   384 ..
       
   385 .ec
       
   386 .ta \n(80u \n(81u 
       
   387 .nr 31 \n(.f
       
   388 .nr 35 1m
       
   389 \&\h'|\n(40u'\f3Option\fP\h'|\n(41u'\f3Description\fP
       
   390 .ne \n(a|u+\n(.Vu
       
   391 .if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v)
       
   392 .ta \n(80u \n(81u 
       
   393 .nr 31 \n(.f
       
   394 .nr 35 1m
       
   395 \&\h'|\n(40u'\f2\-d <directory>\fP\h'|\n(41u'
       
   396 .mk ##
       
   397 .nr 31 \n(##
       
   398 .sp |\n(##u-1v
       
   399 .nr 37 \n(41u
       
   400 .in +\n(37u
       
   401 .a+
       
   402 .in -\n(37u
       
   403 .mk 32
       
   404 .if \n(32>\n(31 .nr 31 \n(32
       
   405 .sp |\n(31u
       
   406 .ne \n(b|u+\n(.Vu
       
   407 .if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v)
       
   408 .ta \n(80u \n(81u 
       
   409 .nr 31 \n(.f
       
   410 .nr 35 1m
       
   411 \&\h'|\n(40u'\f2\-b <path>\fP\h'|\n(41u'
       
   412 .mk ##
       
   413 .nr 31 \n(##
       
   414 .sp |\n(##u-1v
       
   415 .nr 37 \n(41u
       
   416 .in +\n(37u
       
   417 .b+
       
   418 .in -\n(37u
       
   419 .mk 32
       
   420 .if \n(32>\n(31 .nr 31 \n(32
       
   421 .sp |\n(31u
       
   422 .ne \n(c|u+\n(.Vu
       
   423 .if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v)
       
   424 .ta \n(80u \n(81u 
       
   425 .nr 31 \n(.f
       
   426 .nr 35 1m
       
   427 \&\h'|\n(40u'\-catalog\h'|\n(41u'
       
   428 .mk ##
       
   429 .nr 31 \n(##
       
   430 .sp |\n(##u-1v
       
   431 .nr 37 \n(41u
       
   432 .in +\n(37u
       
   433 .c+
       
   434 .in -\n(37u
       
   435 .mk 32
       
   436 .if \n(32>\n(31 .nr 31 \n(32
       
   437 .sp |\n(31u
       
   438 .ne \n(d|u+\n(.Vu
       
   439 .if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v)
       
   440 .ta \n(80u \n(81u 
       
   441 .nr 31 \n(.f
       
   442 .nr 35 1m
       
   443 \&\h'|\n(40u'\f2\-extension\fP\h'|\n(41u'
       
   444 .mk ##
       
   445 .nr 31 \n(##
       
   446 .sp |\n(##u-1v
       
   447 .nr 37 \n(41u
       
   448 .in +\n(37u
       
   449 .d+
       
   450 .in -\n(37u
       
   451 .mk 32
       
   452 .if \n(32>\n(31 .nr 31 \n(32
       
   453 .sp |\n(31u
       
   454 .ta \n(80u \n(81u 
       
   455 .nr 31 \n(.f
       
   456 .nr 35 1m
       
   457 \&\h'|\n(40u'\f2\-help\fP\h'|\n(41u'Display help
       
   458 .ne \n(e|u+\n(.Vu
       
   459 .ne \n(f|u+\n(.Vu
       
   460 .if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v)
       
   461 .if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v)
       
   462 .ta \n(80u \n(81u 
       
   463 .nr 31 \n(.f
       
   464 .nr 35 1m
       
   465 \&\h'|\n(40u'\h'|\n(41u'
       
   466 .mk ##
       
   467 .nr 31 \n(##
       
   468 .sp |\n(##u-1v
       
   469 .nr 37 \n(40u
       
   470 .in +\n(37u
       
   471 .e+
       
   472 .in -\n(37u
       
   473 .mk 32
       
   474 .if \n(32>\n(31 .nr 31 \n(32
       
   475 .sp |\n(##u-1v
       
   476 .nr 37 \n(41u
       
   477 .in +\n(37u
       
   478 .f+
       
   479 .in -\n(37u
       
   480 .mk 32
       
   481 .if \n(32>\n(31 .nr 31 \n(32
       
   482 .sp |\n(31u
       
   483 .ta \n(80u \n(81u 
       
   484 .nr 31 \n(.f
       
   485 .nr 35 1m
       
   486 \&\h'|\n(40u'\f2\-keep\fP\h'|\n(41u'Keep generated files
       
   487 .ne \n(g|u+\n(.Vu
       
   488 .if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v)
       
   489 .ta \n(80u \n(81u 
       
   490 .nr 31 \n(.f
       
   491 .nr 35 1m
       
   492 \&\h'|\n(40u'\f2\-p\fP\h'|\n(41u'
       
   493 .mk ##
       
   494 .nr 31 \n(##
       
   495 .sp |\n(##u-1v
       
   496 .nr 37 \n(41u
       
   497 .in +\n(37u
       
   498 .g+
       
   499 .in -\n(37u
       
   500 .mk 32
       
   501 .if \n(32>\n(31 .nr 31 \n(32
       
   502 .sp |\n(31u
       
   503 .ne \n(h|u+\n(.Vu
       
   504 .if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v)
       
   505 .ta \n(80u \n(81u 
       
   506 .nr 31 \n(.f
       
   507 .nr 35 1m
       
   508 \&\h'|\n(40u'\f2\-s <directory>\fP\h'|\n(41u'
       
   509 .mk ##
       
   510 .nr 31 \n(##
       
   511 .sp |\n(##u-1v
       
   512 .nr 37 \n(41u
       
   513 .in +\n(37u
       
   514 .h+
       
   515 .in -\n(37u
       
   516 .mk 32
       
   517 .if \n(32>\n(31 .nr 31 \n(32
       
   518 .sp |\n(31u
       
   519 .ne \n(i|u+\n(.Vu
       
   520 .if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v)
       
   521 .ta \n(80u \n(81u 
       
   522 .nr 31 \n(.f
       
   523 .nr 35 1m
       
   524 \&\h'|\n(40u'\f2\-verbose\fP\h'|\n(41u'
       
   525 .mk ##
       
   526 .nr 31 \n(##
       
   527 .sp |\n(##u-1v
       
   528 .nr 37 \n(41u
       
   529 .in +\n(37u
       
   530 .i+
       
   531 .in -\n(37u
       
   532 .mk 32
       
   533 .if \n(32>\n(31 .nr 31 \n(32
       
   534 .sp |\n(31u
       
   535 .ne \n(j|u+\n(.Vu
       
   536 .if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v)
       
   537 .ta \n(80u \n(81u 
       
   538 .nr 31 \n(.f
       
   539 .nr 35 1m
       
   540 \&\h'|\n(40u'\f2\-version\fP\h'|\n(41u'
       
   541 .mk ##
       
   542 .nr 31 \n(##
       
   543 .sp |\n(##u-1v
       
   544 .nr 37 \n(41u
       
   545 .in +\n(37u
       
   546 .j+
       
   547 .in -\n(37u
       
   548 .mk 32
       
   549 .if \n(32>\n(31 .nr 31 \n(32
       
   550 .sp |\n(31u
       
   551 .ne \n(k|u+\n(.Vu
       
   552 .ne \n(l|u+\n(.Vu
       
   553 .if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v)
       
   554 .if (\n(l|+\n(#^-1v)>\n(#- .nr #- +(\n(l|+\n(#^-\n(#--1v)
       
   555 .ta \n(80u \n(81u 
       
   556 .nr 31 \n(.f
       
   557 .nr 35 1m
       
   558 \&\h'|\n(40u'\h'|\n(41u'
       
   559 .mk ##
       
   560 .nr 31 \n(##
       
   561 .sp |\n(##u-1v
       
   562 .nr 37 \n(40u
       
   563 .in +\n(37u
       
   564 .k+
       
   565 .in -\n(37u
       
   566 .mk 32
       
   567 .if \n(32>\n(31 .nr 31 \n(32
       
   568 .sp |\n(##u-1v
       
   569 .nr 37 \n(41u
       
   570 .in +\n(37u
       
   571 .l+
       
   572 .in -\n(37u
       
   573 .mk 32
       
   574 .if \n(32>\n(31 .nr 31 \n(32
       
   575 .sp |\n(31u
       
   576 .fc
       
   577 .nr T. 1
       
   578 .T# 1
       
   579 .35
       
   580 .rm a+
       
   581 .rm b+
       
   582 .rm c+
       
   583 .rm d+
       
   584 .rm e+
       
   585 .rm f+
       
   586 .rm g+
       
   587 .rm h+
       
   588 .rm i+
       
   589 .rm j+
       
   590 .rm k+
       
   591 .rm l+
       
   592 .TE
       
   593 .if \n-(b.=0 .nr c. \n(.c-\n(d.-54
       
   594 
       
   595 .LP
       
   596 .LP
       
   597 Multiple JAX\-WS and JAXB binding files can be specified using \f2\-b\fP option and they can be used to customize various things like package names, bean names, etc. More information on JAX\-WS and JAXB binding files can be found in the customization documentation.
       
   598 .br
       
   599 
       
   600 .LP
       
   601 .SS 
       
   602 Ant task
       
   603 .LP
       
   604 .LP
       
   605 An Ant task for the \f2wsimport\fP tool is provided along with the tool. The attributes and elements supported by the Ant task are listed below:
       
   606 .br
       
   607 
       
   608 .LP
       
   609 .nf
       
   610 \f3
       
   611 .fl
       
   612    <wsimport           \fP
       
   613 .br
       
   614 \f3
       
   615 .fl
       
   616       wsdl="..."      \fP
       
   617 .br
       
   618 \f3
       
   619 .fl
       
   620       destdir="directory for generated class files"\fP
       
   621 .br
       
   622 \f3
       
   623 .fl
       
   624       sourcedestdir="directory for generated source files"\fP
       
   625 .br
       
   626 \f3
       
   627 .fl
       
   628       keep="true|false"\fP
       
   629 .br
       
   630 \f3
       
   631 .fl
       
   632       extension="true|false"\fP
       
   633 .br
       
   634 \f3
       
   635 .fl
       
   636       verbose="true|false"\fP
       
   637 .br
       
   638 \f3
       
   639 .fl
       
   640       version="true|false"\fP
       
   641 .br
       
   642 \f3
       
   643 .fl
       
   644       wsdlLocation="..."\fP
       
   645 .br
       
   646 \f3
       
   647 .fl
       
   648       catalog="catalog file"\fP
       
   649 .br
       
   650 \f3
       
   651 .fl
       
   652       package="package name"\fP
       
   653 .br
       
   654 \f3
       
   655 .fl
       
   656       <binding dir="..." includes="..." />\fP
       
   657 .br
       
   658 \f3
       
   659 .fl
       
   660   </wsimport>
       
   661 .fl
       
   662 \fP
       
   663 .fi
       
   664 
       
   665 .LP
       
   666 .LP
       
   667 .TS
       
   668 .if \n+(b.=1 .nr d. \n(.c-\n(c.-1
       
   669 .de 35
       
   670 .ps \n(.s
       
   671 .vs \n(.vu
       
   672 .in \n(.iu
       
   673 .if \n(.u .fi
       
   674 .if \n(.j .ad
       
   675 .if \n(.j=0 .na
       
   676 ..
       
   677 .nf
       
   678 .nr #~ 0
       
   679 .if n .nr #~ 0.6n
       
   680 .ds #d .d
       
   681 .if \(ts\n(.z\(ts\(ts .ds #d nl
       
   682 .fc
       
   683 .nr 33 \n(.s
       
   684 .rm 80 81 82
       
   685 .nr 34 \n(.lu
       
   686 .eo
       
   687 .am 81
       
   688 .br
       
   689 .di a+
       
   690 .35
       
   691 .ft \n(.f
       
   692 .ll \n(34u*1u/4u
       
   693 .if \n(.l<\n(81 .ll \n(81u
       
   694 .in 0
       
   695 Specify where to place output generated classes
       
   696 .br
       
   697 .di
       
   698 .nr a| \n(dn
       
   699 .nr a- \n(dl
       
   700 ..
       
   701 .ec \
       
   702 .eo
       
   703 .am 81
       
   704 .br
       
   705 .di b+
       
   706 .35
       
   707 .ft \n(.f
       
   708 .ll \n(34u*1u/4u
       
   709 .if \n(.l<\n(81 .ll \n(81u
       
   710 .in 0
       
   711 Specify where to place generated source files, keep is turned on with this option
       
   712 .br
       
   713 .di
       
   714 .nr b| \n(dn
       
   715 .nr b- \n(dl
       
   716 ..
       
   717 .ec \
       
   718 .eo
       
   719 .am 81
       
   720 .br
       
   721 .di c+
       
   722 .35
       
   723 .ft \n(.f
       
   724 .ll \n(34u*1u/4u
       
   725 .if \n(.l<\n(81 .ll \n(81u
       
   726 .in 0
       
   727 Keep generated files, tunred on with sourcedestdir option
       
   728 .br
       
   729 .di
       
   730 .nr c| \n(dn
       
   731 .nr c- \n(dl
       
   732 ..
       
   733 .ec \
       
   734 .eo
       
   735 .am 81
       
   736 .br
       
   737 .di d+
       
   738 .35
       
   739 .ft \n(.f
       
   740 .ll \n(34u*1u/4u
       
   741 .if \n(.l<\n(81 .ll \n(81u
       
   742 .in 0
       
   743 Output messages about what the compiler is doing
       
   744 .br
       
   745 .di
       
   746 .nr d| \n(dn
       
   747 .nr d- \n(dl
       
   748 ..
       
   749 .ec \
       
   750 .eo
       
   751 .am 81
       
   752 .br
       
   753 .di e+
       
   754 .35
       
   755 .ft \n(.f
       
   756 .ll \n(34u*1u/4u
       
   757 .if \n(.l<\n(81 .ll \n(81u
       
   758 .in 0
       
   759 Specify external JAX\-WS or JAXB binding files
       
   760 .br
       
   761 .di
       
   762 .nr e| \n(dn
       
   763 .nr e- \n(dl
       
   764 ..
       
   765 .ec \
       
   766 .eo
       
   767 .am 81
       
   768 .br
       
   769 .di f+
       
   770 .35
       
   771 .ft \n(.f
       
   772 .ll \n(34u*1u/4u
       
   773 .if \n(.l<\n(81 .ll \n(81u
       
   774 .in 0
       
   775 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
       
   776 .br
       
   777 .di
       
   778 .nr f| \n(dn
       
   779 .nr f- \n(dl
       
   780 ..
       
   781 .ec \
       
   782 .eo
       
   783 .am 80
       
   784 .br
       
   785 .di g+
       
   786 .35
       
   787 .ft \n(.f
       
   788 .ll \n(34u*1u/4u
       
   789 .if \n(.l<\n(80 .ll \n(80u
       
   790 .in 0
       
   791 \f2wsdllocation\fP
       
   792 .br
       
   793 .br
       
   794 .di
       
   795 .nr g| \n(dn
       
   796 .nr g- \n(dl
       
   797 ..
       
   798 .ec \
       
   799 .eo
       
   800 .am 81
       
   801 .br
       
   802 .di h+
       
   803 .35
       
   804 .ft \n(.f
       
   805 .ll \n(34u*1u/4u
       
   806 .if \n(.l<\n(81 .ll \n(81u
       
   807 .in 0
       
   808 The wsdl URI passed thru this option will be used to set the value of \f2@WebService.wsdlLocation\fP and \f2@WebServiceClient.wsdlLocation\fP annotation elements on the generated SEI and Service interface
       
   809 .br
       
   810 .br
       
   811 .di
       
   812 .nr h| \n(dn
       
   813 .nr h- \n(dl
       
   814 ..
       
   815 .ec \
       
   816 .eo
       
   817 .am 82
       
   818 .br
       
   819 .di i+
       
   820 .35
       
   821 .ft \n(.f
       
   822 .ll \n(34u*1u/4u
       
   823 .if \n(.l<\n(82 .ll \n(82u
       
   824 .in 0
       
   825 \f2\-wsdllocation\fP
       
   826 .br
       
   827 .br
       
   828 .di
       
   829 .nr i| \n(dn
       
   830 .nr i- \n(dl
       
   831 ..
       
   832 .ec \
       
   833 .eo
       
   834 .am 80
       
   835 .br
       
   836 .di j+
       
   837 .35
       
   838 .ft \n(.f
       
   839 .ll \n(34u*1u/4u
       
   840 .if \n(.l<\n(80 .ll \n(80u
       
   841 .in 0
       
   842 \f2catalog\fP
       
   843 .br
       
   844 .br
       
   845 .di
       
   846 .nr j| \n(dn
       
   847 .nr j- \n(dl
       
   848 ..
       
   849 .ec \
       
   850 .eo
       
   851 .am 81
       
   852 .br
       
   853 .di k+
       
   854 .35
       
   855 .ft \n(.f
       
   856 .ll \n(34u*1u/4u
       
   857 .if \n(.l<\n(81 .ll \n(81u
       
   858 .in 0
       
   859 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.
       
   860 .br
       
   861 .di
       
   862 .nr k| \n(dn
       
   863 .nr k- \n(dl
       
   864 ..
       
   865 .ec \
       
   866 .eo
       
   867 .am 82
       
   868 .br
       
   869 .di l+
       
   870 .35
       
   871 .ft \n(.f
       
   872 .ll \n(34u*1u/4u
       
   873 .if \n(.l<\n(82 .ll \n(82u
       
   874 .in 0
       
   875 \f2\-catalog\fP
       
   876 .br
       
   877 .br
       
   878 .di
       
   879 .nr l| \n(dn
       
   880 .nr l- \n(dl
       
   881 ..
       
   882 .ec \
       
   883 .eo
       
   884 .am 80
       
   885 .br
       
   886 .di m+
       
   887 .35
       
   888 .ft \n(.f
       
   889 .ll \n(34u*1u/4u
       
   890 .if \n(.l<\n(80 .ll \n(80u
       
   891 .in 0
       
   892 \f2package\fP
       
   893 .br
       
   894 .br
       
   895 .di
       
   896 .nr m| \n(dn
       
   897 .nr m- \n(dl
       
   898 ..
       
   899 .ec \
       
   900 .eo
       
   901 .am 81
       
   902 .br
       
   903 .di n+
       
   904 .35
       
   905 .ft \n(.f
       
   906 .ll \n(34u*1u/4u
       
   907 .if \n(.l<\n(81 .ll \n(81u
       
   908 .in 0
       
   909 Specifies the target package
       
   910 .br
       
   911 .di
       
   912 .nr n| \n(dn
       
   913 .nr n- \n(dl
       
   914 ..
       
   915 .ec \
       
   916 .eo
       
   917 .am 82
       
   918 .br
       
   919 .di o+
       
   920 .35
       
   921 .ft \n(.f
       
   922 .ll \n(34u*1u/4u
       
   923 .if \n(.l<\n(82 .ll \n(82u
       
   924 .in 0
       
   925 \f2\-p\fP
       
   926 .br
       
   927 .br
       
   928 .di
       
   929 .nr o| \n(dn
       
   930 .nr o- \n(dl
       
   931 ..
       
   932 .ec \
       
   933 .35
       
   934 .nf
       
   935 .ll \n(34u
       
   936 .nr 80 0
       
   937 .nr 38 \w\f3Attribute\fP
       
   938 .if \n(80<\n(38 .nr 80 \n(38
       
   939 .nr 38 \w\f2wsdl\fP
       
   940 .if \n(80<\n(38 .nr 80 \n(38
       
   941 .nr 38 \w\f2destdir\fP
       
   942 .if \n(80<\n(38 .nr 80 \n(38
       
   943 .nr 38 \wsourcedestdir
       
   944 .if \n(80<\n(38 .nr 80 \n(38
       
   945 .nr 38 \w\f2keep\fP
       
   946 .if \n(80<\n(38 .nr 80 \n(38
       
   947 .nr 38 \w\f2verbose\fP
       
   948 .if \n(80<\n(38 .nr 80 \n(38
       
   949 .nr 38 \w\f2binding\fP
       
   950 .if \n(80<\n(38 .nr 80 \n(38
       
   951 .nr 38 \w\f2extension\fP
       
   952 .if \n(80<\n(38 .nr 80 \n(38
       
   953 .80
       
   954 .rm 80
       
   955 .nr 38 \n(g-
       
   956 .if \n(80<\n(38 .nr 80 \n(38
       
   957 .nr 38 \n(j-
       
   958 .if \n(80<\n(38 .nr 80 \n(38
       
   959 .nr 38 \n(m-
       
   960 .if \n(80<\n(38 .nr 80 \n(38
       
   961 .nr 81 0
       
   962 .nr 38 \w\f3Description\fP
       
   963 .if \n(81<\n(38 .nr 81 \n(38
       
   964 .nr 38 \wWSDL file
       
   965 .if \n(81<\n(38 .nr 81 \n(38
       
   966 .81
       
   967 .rm 81
       
   968 .nr 38 \n(a-
       
   969 .if \n(81<\n(38 .nr 81 \n(38
       
   970 .nr 38 \n(b-
       
   971 .if \n(81<\n(38 .nr 81 \n(38
       
   972 .nr 38 \n(c-
       
   973 .if \n(81<\n(38 .nr 81 \n(38
       
   974 .nr 38 \n(d-
       
   975 .if \n(81<\n(38 .nr 81 \n(38
       
   976 .nr 38 \n(e-
       
   977 .if \n(81<\n(38 .nr 81 \n(38
       
   978 .nr 38 \n(f-
       
   979 .if \n(81<\n(38 .nr 81 \n(38
       
   980 .nr 38 \n(h-
       
   981 .if \n(81<\n(38 .nr 81 \n(38
       
   982 .nr 38 \n(k-
       
   983 .if \n(81<\n(38 .nr 81 \n(38
       
   984 .nr 38 \n(n-
       
   985 .if \n(81<\n(38 .nr 81 \n(38
       
   986 .nr 82 0
       
   987 .nr 38 \w\f3Command line\fP
       
   988 .if \n(82<\n(38 .nr 82 \n(38
       
   989 .nr 38 \wWSDL
       
   990 .if \n(82<\n(38 .nr 82 \n(38
       
   991 .nr 38 \w\f2\-d\fP
       
   992 .if \n(82<\n(38 .nr 82 \n(38
       
   993 .nr 38 \w\f2\-s\fP
       
   994 .if \n(82<\n(38 .nr 82 \n(38
       
   995 .nr 38 \w\f2\-keep\fP
       
   996 .if \n(82<\n(38 .nr 82 \n(38
       
   997 .nr 38 \w\f2\-verbose\fP
       
   998 .if \n(82<\n(38 .nr 82 \n(38
       
   999 .nr 38 \w\f2\-b\fP
       
  1000 .if \n(82<\n(38 .nr 82 \n(38
       
  1001 .nr 38 \w\f2\-extension\fP
       
  1002 .if \n(82<\n(38 .nr 82 \n(38
       
  1003 .82
       
  1004 .rm 82
       
  1005 .nr 38 \n(i-
       
  1006 .if \n(82<\n(38 .nr 82 \n(38
       
  1007 .nr 38 \n(l-
       
  1008 .if \n(82<\n(38 .nr 82 \n(38
       
  1009 .nr 38 \n(o-
       
  1010 .if \n(82<\n(38 .nr 82 \n(38
       
  1011 .35
       
  1012 .nf
       
  1013 .ll \n(34u
       
  1014 .nr 38 1n
       
  1015 .nr 79 0
       
  1016 .nr 40 \n(79+(0*\n(38)
       
  1017 .nr 80 +\n(40
       
  1018 .nr 41 \n(80+(3*\n(38)
       
  1019 .nr 81 +\n(41
       
  1020 .nr 42 \n(81+(3*\n(38)
       
  1021 .nr 82 +\n(42
       
  1022 .nr TW \n(82
       
  1023 .if t .if \n(TW>\n(.li .tm Table at line 261 file Input is too wide - \n(TW units
       
  1024 .fc  
       
  1025 .nr #T 0-1
       
  1026 .nr #a 0-1
       
  1027 .eo
       
  1028 .de T#
       
  1029 .ds #d .d
       
  1030 .if \(ts\n(.z\(ts\(ts .ds #d nl
       
  1031 .mk ##
       
  1032 .nr ## -1v
       
  1033 .ls 1
       
  1034 .ls
       
  1035 ..
       
  1036 .ec
       
  1037 .ta \n(80u \n(81u \n(82u 
       
  1038 .nr 31 \n(.f
       
  1039 .nr 35 1m
       
  1040 \&\h'|\n(40u'\f3Attribute\fP\h'|\n(41u'\f3Description\fP\h'|\n(42u'\f3Command line\fP
       
  1041 .ta \n(80u \n(81u \n(82u 
       
  1042 .nr 31 \n(.f
       
  1043 .nr 35 1m
       
  1044 \&\h'|\n(40u'\f2wsdl\fP\h'|\n(41u'WSDL file\h'|\n(42u'WSDL
       
  1045 .ne \n(a|u+\n(.Vu
       
  1046 .if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v)
       
  1047 .ta \n(80u \n(81u \n(82u 
       
  1048 .nr 31 \n(.f
       
  1049 .nr 35 1m
       
  1050 \&\h'|\n(40u'\f2destdir\fP\h'|\n(41u'\h'|\n(42u'\f2\-d\fP
       
  1051 .mk ##
       
  1052 .nr 31 \n(##
       
  1053 .sp |\n(##u-1v
       
  1054 .nr 37 \n(41u
       
  1055 .in +\n(37u
       
  1056 .a+
       
  1057 .in -\n(37u
       
  1058 .mk 32
       
  1059 .if \n(32>\n(31 .nr 31 \n(32
       
  1060 .sp |\n(31u
       
  1061 .ne \n(b|u+\n(.Vu
       
  1062 .if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v)
       
  1063 .ta \n(80u \n(81u \n(82u 
       
  1064 .nr 31 \n(.f
       
  1065 .nr 35 1m
       
  1066 \&\h'|\n(40u'sourcedestdir\h'|\n(41u'\h'|\n(42u'\f2\-s\fP
       
  1067 .mk ##
       
  1068 .nr 31 \n(##
       
  1069 .sp |\n(##u-1v
       
  1070 .nr 37 \n(41u
       
  1071 .in +\n(37u
       
  1072 .b+
       
  1073 .in -\n(37u
       
  1074 .mk 32
       
  1075 .if \n(32>\n(31 .nr 31 \n(32
       
  1076 .sp |\n(31u
       
  1077 .ne \n(c|u+\n(.Vu
       
  1078 .if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v)
       
  1079 .ta \n(80u \n(81u \n(82u 
       
  1080 .nr 31 \n(.f
       
  1081 .nr 35 1m
       
  1082 \&\h'|\n(40u'\f2keep\fP\h'|\n(41u'\h'|\n(42u'\f2\-keep\fP
       
  1083 .mk ##
       
  1084 .nr 31 \n(##
       
  1085 .sp |\n(##u-1v
       
  1086 .nr 37 \n(41u
       
  1087 .in +\n(37u
       
  1088 .c+
       
  1089 .in -\n(37u
       
  1090 .mk 32
       
  1091 .if \n(32>\n(31 .nr 31 \n(32
       
  1092 .sp |\n(31u
       
  1093 .ne \n(d|u+\n(.Vu
       
  1094 .if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v)
       
  1095 .ta \n(80u \n(81u \n(82u 
       
  1096 .nr 31 \n(.f
       
  1097 .nr 35 1m
       
  1098 \&\h'|\n(40u'\f2verbose\fP\h'|\n(41u'\h'|\n(42u'\f2\-verbose\fP
       
  1099 .mk ##
       
  1100 .nr 31 \n(##
       
  1101 .sp |\n(##u-1v
       
  1102 .nr 37 \n(41u
       
  1103 .in +\n(37u
       
  1104 .d+
       
  1105 .in -\n(37u
       
  1106 .mk 32
       
  1107 .if \n(32>\n(31 .nr 31 \n(32
       
  1108 .sp |\n(31u
       
  1109 .ne \n(e|u+\n(.Vu
       
  1110 .if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v)
       
  1111 .ta \n(80u \n(81u \n(82u 
       
  1112 .nr 31 \n(.f
       
  1113 .nr 35 1m
       
  1114 \&\h'|\n(40u'\f2binding\fP\h'|\n(41u'\h'|\n(42u'\f2\-b\fP
       
  1115 .mk ##
       
  1116 .nr 31 \n(##
       
  1117 .sp |\n(##u-1v
       
  1118 .nr 37 \n(41u
       
  1119 .in +\n(37u
       
  1120 .e+
       
  1121 .in -\n(37u
       
  1122 .mk 32
       
  1123 .if \n(32>\n(31 .nr 31 \n(32
       
  1124 .sp |\n(31u
       
  1125 .ta \n(80u \n(81u \n(82u 
       
  1126 .nr 31 \n(.f
       
  1127 .nr 35 1m
       
  1128 \&\h'|\n(40u'\f2extension\fP\h'|\n(41u'\h'|\n(42u'
       
  1129 .br
       
  1130 .ne \n(f|u+\n(.Vu
       
  1131 .if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v)
       
  1132 .ta \n(80u \n(81u \n(82u 
       
  1133 .nr 31 \n(.f
       
  1134 .nr 35 1m
       
  1135 \&\h'|\n(40u'\h'|\n(41u'\h'|\n(42u'\f2\-extension\fP
       
  1136 .mk ##
       
  1137 .nr 31 \n(##
       
  1138 .sp |\n(##u-1v
       
  1139 .nr 37 \n(41u
       
  1140 .in +\n(37u
       
  1141 .f+
       
  1142 .in -\n(37u
       
  1143 .mk 32
       
  1144 .if \n(32>\n(31 .nr 31 \n(32
       
  1145 .sp |\n(31u
       
  1146 .ne \n(g|u+\n(.Vu
       
  1147 .ne \n(h|u+\n(.Vu
       
  1148 .ne \n(i|u+\n(.Vu
       
  1149 .if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v)
       
  1150 .if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v)
       
  1151 .if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v)
       
  1152 .ta \n(80u \n(81u \n(82u 
       
  1153 .nr 31 \n(.f
       
  1154 .nr 35 1m
       
  1155 \&\h'|\n(40u'\h'|\n(41u'\h'|\n(42u'
       
  1156 .mk ##
       
  1157 .nr 31 \n(##
       
  1158 .sp |\n(##u-1v
       
  1159 .nr 37 \n(40u
       
  1160 .in +\n(37u
       
  1161 .g+
       
  1162 .in -\n(37u
       
  1163 .mk 32
       
  1164 .if \n(32>\n(31 .nr 31 \n(32
       
  1165 .sp |\n(##u-1v
       
  1166 .nr 37 \n(41u
       
  1167 .in +\n(37u
       
  1168 .h+
       
  1169 .in -\n(37u
       
  1170 .mk 32
       
  1171 .if \n(32>\n(31 .nr 31 \n(32
       
  1172 .sp |\n(##u-1v
       
  1173 .nr 37 \n(42u
       
  1174 .in +\n(37u
       
  1175 .i+
       
  1176 .in -\n(37u
       
  1177 .mk 32
       
  1178 .if \n(32>\n(31 .nr 31 \n(32
       
  1179 .sp |\n(31u
       
  1180 .ne \n(j|u+\n(.Vu
       
  1181 .ne \n(k|u+\n(.Vu
       
  1182 .ne \n(l|u+\n(.Vu
       
  1183 .if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v)
       
  1184 .if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v)
       
  1185 .if (\n(l|+\n(#^-1v)>\n(#- .nr #- +(\n(l|+\n(#^-\n(#--1v)
       
  1186 .ta \n(80u \n(81u \n(82u 
       
  1187 .nr 31 \n(.f
       
  1188 .nr 35 1m
       
  1189 \&\h'|\n(40u'\h'|\n(41u'\h'|\n(42u'
       
  1190 .mk ##
       
  1191 .nr 31 \n(##
       
  1192 .sp |\n(##u-1v
       
  1193 .nr 37 \n(40u
       
  1194 .in +\n(37u
       
  1195 .j+
       
  1196 .in -\n(37u
       
  1197 .mk 32
       
  1198 .if \n(32>\n(31 .nr 31 \n(32
       
  1199 .sp |\n(##u-1v
       
  1200 .nr 37 \n(41u
       
  1201 .in +\n(37u
       
  1202 .k+
       
  1203 .in -\n(37u
       
  1204 .mk 32
       
  1205 .if \n(32>\n(31 .nr 31 \n(32
       
  1206 .sp |\n(##u-1v
       
  1207 .nr 37 \n(42u
       
  1208 .in +\n(37u
       
  1209 .l+
       
  1210 .in -\n(37u
       
  1211 .mk 32
       
  1212 .if \n(32>\n(31 .nr 31 \n(32
       
  1213 .sp |\n(31u
       
  1214 .ne \n(m|u+\n(.Vu
       
  1215 .ne \n(n|u+\n(.Vu
       
  1216 .ne \n(o|u+\n(.Vu
       
  1217 .if (\n(m|+\n(#^-1v)>\n(#- .nr #- +(\n(m|+\n(#^-\n(#--1v)
       
  1218 .if (\n(n|+\n(#^-1v)>\n(#- .nr #- +(\n(n|+\n(#^-\n(#--1v)
       
  1219 .if (\n(o|+\n(#^-1v)>\n(#- .nr #- +(\n(o|+\n(#^-\n(#--1v)
       
  1220 .ta \n(80u \n(81u \n(82u 
       
  1221 .nr 31 \n(.f
       
  1222 .nr 35 1m
       
  1223 \&\h'|\n(40u'\h'|\n(41u'\h'|\n(42u'
       
  1224 .mk ##
       
  1225 .nr 31 \n(##
       
  1226 .sp |\n(##u-1v
       
  1227 .nr 37 \n(40u
       
  1228 .in +\n(37u
       
  1229 .m+
       
  1230 .in -\n(37u
       
  1231 .mk 32
       
  1232 .if \n(32>\n(31 .nr 31 \n(32
       
  1233 .sp |\n(##u-1v
       
  1234 .nr 37 \n(41u
       
  1235 .in +\n(37u
       
  1236 .n+
       
  1237 .in -\n(37u
       
  1238 .mk 32
       
  1239 .if \n(32>\n(31 .nr 31 \n(32
       
  1240 .sp |\n(##u-1v
       
  1241 .nr 37 \n(42u
       
  1242 .in +\n(37u
       
  1243 .o+
       
  1244 .in -\n(37u
       
  1245 .mk 32
       
  1246 .if \n(32>\n(31 .nr 31 \n(32
       
  1247 .sp |\n(31u
       
  1248 .fc
       
  1249 .nr T. 1
       
  1250 .T# 1
       
  1251 .35
       
  1252 .rm a+
       
  1253 .rm b+
       
  1254 .rm c+
       
  1255 .rm d+
       
  1256 .rm e+
       
  1257 .rm f+
       
  1258 .rm g+
       
  1259 .rm h+
       
  1260 .rm i+
       
  1261 .rm j+
       
  1262 .rm k+
       
  1263 .rm l+
       
  1264 .rm m+
       
  1265 .rm n+
       
  1266 .rm o+
       
  1267 .TE
       
  1268 .if \n-(b.=0 .nr c. \n(.c-\n(d.-63
       
  1269 
       
  1270 .LP
       
  1271 .LP
       
  1272 The \f2binding\fP attributes is like a 
       
  1273 .na
       
  1274 \f2path\-like structure\fP @
       
  1275 .fi
       
  1276 http://ant.apache.org/manual/using.html#path and can also be set via nested \f2<binding>\fP elements, respectively. Before this task can be used, a \f2<taskdef>\fP element needs to be added to the project as given below:
       
  1277 .LP
       
  1278 .nf
       
  1279 \f3
       
  1280 .fl
       
  1281   <taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport">\fP
       
  1282 .br
       
  1283 \f3
       
  1284 .fl
       
  1285       <classpath path="jaxws.classpath"/>\fP
       
  1286 .br
       
  1287 \f3
       
  1288 .fl
       
  1289   </taskdef>
       
  1290 .fl
       
  1291 \fP
       
  1292 .fi
       
  1293 
       
  1294 .LP
       
  1295 .LP
       
  1296 where \f2jaxws.classpath\fP is a reference to a 
       
  1297 .na
       
  1298 \f2path\-like structure\fP @
       
  1299 .fi
       
  1300 http://ant.apache.org/manual/using.html#path, defined elsewhere in the build environment, and contains the list of classes required by the JAX\-WS tools.
       
  1301 .LP
       
  1302 .SH "Examples"
       
  1303 .LP
       
  1304 .nf
       
  1305 \f3
       
  1306 .fl
       
  1307   <wsimport\fP
       
  1308 .br
       
  1309 \f3
       
  1310 .fl
       
  1311       \fP\f4destdir\fP\f3="${build.classes.home}"\fP
       
  1312 .br
       
  1313 \f3
       
  1314 .fl
       
  1315       debug="true"\fP
       
  1316 .br
       
  1317 \f3
       
  1318 .fl
       
  1319       wsdl="AddNumbers.wsdl"\fP
       
  1320 .br
       
  1321 \f3
       
  1322 .fl
       
  1323       binding="custom.xml"/>
       
  1324 .fl
       
  1325 \fP
       
  1326 .fi
       
  1327 
       
  1328 .LP
       
  1329 .LP
       
  1330 The above example generates client\-side artifacts for \f2AddNumbers.wsdl\fP, stores \f2.class\fP files in the \f2${build.classes.home}\fP directory using the \f2custom.xml\fP customization file. The classpath used is \f2xyz.jar\fP and compiles with debug information on.
       
  1331 .LP
       
  1332 .nf
       
  1333 \f3
       
  1334 .fl
       
  1335   <wsimport\fP
       
  1336 .br
       
  1337 \f3
       
  1338 .fl
       
  1339       keep="true"\fP
       
  1340 .br
       
  1341 \f3
       
  1342 .fl
       
  1343       sourcedestdir="${source.dir}"\fP
       
  1344 .br
       
  1345 \f3
       
  1346 .fl
       
  1347       \fP\f4destdir\fP\f3="${build.classes.home}"\fP
       
  1348 .br
       
  1349 \f3
       
  1350 .fl
       
  1351       wsdl="AddNumbers.wsdl">\fP
       
  1352 .br
       
  1353 \f3
       
  1354 .fl
       
  1355       <binding dir="${basedir}/etc" includes="custom.xml"/>\fP
       
  1356 .br
       
  1357 \f3
       
  1358 .fl
       
  1359   </wsimport>
       
  1360 .fl
       
  1361 \fP
       
  1362 .fi
       
  1363 
       
  1364 .LP
       
  1365 .LP
       
  1366 The above example generates portable artifacts for \f2AddNumbers.wsdl\fP, stores \f2.java\fP files in the \f2${source.dir}\fP directory, stores \f2.class\fP files in the \f2${build.classes.home}\fP directory.
       
  1367 .LP
       
  1368 .SH "Notes"
       
  1369 .LP
       
  1370 .LP
       
  1371 Summary of Changed and Removed wsimport ant attributes:
       
  1372 .LP
       
  1373 \f3base\fP replaced by \f3destdir\fP
       
  1374 .br
       
  1375 
       
  1376 .LP
       
  1377 .br
       
  1378 
       
  1379 .LP
       
  1380 \f3sourceBase\fP is replaced by \f3sourcedestdir\fP
       
  1381 .br
       
  1382 
       
  1383 .LP
       
  1384 .br
       
  1385 
       
  1386 .LP
       
  1387 \f3wsdlFile\fP is replaced by \f3wsdl\fP
       
  1388 .br
       
  1389 .br
       
  1390 \f3httpProxy\fP is removed. Use ant's setproxy task instead for proxy configuration.
       
  1391 .br
       
  1392 .br
       
  1393 \f3version\fP is removed
       
  1394 .br
       
  1395 
       
  1396 .LP
       
  1397 
       
  1398 .LP
       
  1399