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