Debian Codegraph @

docs/ant/axis-java2wsdl.html

raw
1
2 <html>
3 <head>
4 <meta http-equiv="Content-Language" content="en-us">
5 <title>Axis-java2wsdl
6 Task</title>
7 </head>
8
9 <body bgcolor="#ffffff" text="#000000" link="#525D76"
10 alink="#525D76" vlink="#525D76">
11
12 <table border="0" width="100%" cellspacing="4">
13
14 <!-- PAGE HEADER -->
15 <tr>
16 <td>
17 <table border="0" width="100%"><tr>
18 <td valign="bottom">
19 <font size="+3" face="arial,helvetica,sanserif"><strong>Axis-java2wsdl
20 Task</strong></font>
21 <br><font face="arial,helvetica,sanserif">Generates a WSDL description from a Java class.</font>
22 </td>
23 <td>
24 <!-- PROJECT LOGO -->
25 <a href="http://ant.apache.org/">
26 <img src="../../images/ant_logo_large.gif" align="right" alt="Apache Ant" border="0"/>
27 </a>
28 </td>
29 </tr></table>
30 </td>
31 </tr>
32
33 <!-- START RIGHT SIDE MAIN BODY -->
34 <tr>
35 <td valign="top" align="left">
36
37 <!-- Applying task/long-description -->
38 <!-- Start Description -->
39 <table border="0" cellspacing="0" cellpadding="2" width="100%">
40 <tr><td>&nbsp;</td></tr>
41
42 <tr><td bgcolor="#525D76">
43 <font color="#ffffff" face="arial,helvetica.sanserif">
44 <a name="description">
45 <strong>Description</strong></a></font>
46 </td></tr>
47
48 <tr><td><blockquote>
49 Generates a WSDL description from a Java class.
50 </blockquote></td></tr>
51
52 </table>
53 <!-- End Description -->
54
55 <!-- Ignore -->
56
57
58
59 <!-- Start Attributes -->
60 <table border="0" cellspacing="0" cellpadding="2" width="100%">
61 <tr><td>&nbsp;</td></tr>
62 <tr><td bgcolor="#525D76">
63 <font color="#ffffff" face="arial,helvetica.sanserif">
64 <a name="attributes">
65 <strong>Parameters</strong></a></font>
66 </td></tr>
67 <tr><td><blockquote>
68 <table>
69 <tr>
70 <td bgcolor="#cccccc" valign="top" align="left">
71 <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Attribute</b></font>
72 </td>
73 <td bgcolor="#cccccc" valign="top" align="left">
74 <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Description</b></font>
75 </td>
76 <td bgcolor="#cccccc" valign="top" align="left">
77 <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Type</b></font>
78 </td>
79 <td bgcolor="#cccccc" valign="top" align="left">
80 <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Requirement</b></font>
81 </td>
82 </tr>
83 <!-- Attribute Group -->
84
85 <!-- Attribute Group -->
86 <!-- Attribute -->
87 <tr>
88 <td bgcolor="#eeeeee" valign="top" align="left">
89 <font color="#000000" size="-1" face="arial,helvetica,sanserif">bindingname</font>
90 </td>
91 <td bgcolor="#eeeeee" valign="top" align="left">
92 <font color="#000000" size="-1" face="arial,helvetica,sanserif">The name to use use for the binding element. If not specified, the value of the <tt>servicePortName</tt> + "SoapBinding" is used.</font>
93 </td>
94 <td bgcolor="#eeeeee" valign="top" align="left">
95 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
96 </td>
97 <td bgcolor="#eeeeee" valign="top" align="left" rowspan="23">
98 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Optional</font>
99 </td>
100 </tr>
101 <!-- Attribute -->
102 <tr>
103 <td bgcolor="#eeeeee" valign="top" align="left">
104 <font color="#000000" size="-1" face="arial,helvetica,sanserif">classname</font>
105 </td>
106 <td bgcolor="#eeeeee" valign="top" align="left">
107 <font color="#000000" size="-1" face="arial,helvetica,sanserif">the class name to import, eg. org.example.Foo. Required. The class must be on the classpath.</font>
108 </td>
109 <td bgcolor="#eeeeee" valign="top" align="left">
110 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
111 </td>
112 </tr>
113 <!-- Attribute -->
114 <tr>
115 <td bgcolor="#eeeeee" valign="top" align="left">
116 <font color="#000000" size="-1" face="arial,helvetica,sanserif">exclude</font>
117 </td>
118 <td bgcolor="#eeeeee" valign="top" align="left">
119 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Comma separated list of methods to exclude from the wsdl file.</font>
120 </td>
121 <td bgcolor="#eeeeee" valign="top" align="left">
122 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
123 </td>
124 </tr>
125 <!-- Attribute -->
126 <tr>
127 <td bgcolor="#eeeeee" valign="top" align="left">
128 <font color="#000000" size="-1" face="arial,helvetica,sanserif">extraclasses</font>
129 </td>
130 <td bgcolor="#eeeeee" valign="top" align="left">
131 <font color="#000000" size="-1" face="arial,helvetica,sanserif">A comma separated list of classes to add to the classpath.</font>
132 </td>
133 <td bgcolor="#eeeeee" valign="top" align="left">
134 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
135 </td>
136 </tr>
137 <!-- Attribute -->
138 <tr>
139 <td bgcolor="#eeeeee" valign="top" align="left">
140 <font color="#000000" size="-1" face="arial,helvetica,sanserif">implclass</font>
141 </td>
142 <td bgcolor="#eeeeee" valign="top" align="left">
143 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Sometimes extra information is available in the implementation class file. Use this option to specify the implementation class.</font>
144 </td>
145 <td bgcolor="#eeeeee" valign="top" align="left">
146 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
147 </td>
148 </tr>
149 <!-- Attribute -->
150 <tr>
151 <td bgcolor="#eeeeee" valign="top" align="left">
152 <font color="#000000" size="-1" face="arial,helvetica,sanserif">importschema</font>
153 </td>
154 <td bgcolor="#eeeeee" valign="top" align="left">
155 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Option attribute that indicates the name of an XML Schema file that should be physically imported into the generated WSDL.</font>
156 </td>
157 <td bgcolor="#eeeeee" valign="top" align="left">
158 <font color="#000000" size="-1" face="arial,helvetica,sanserif">File</font>
159 </td>
160 </tr>
161 <!-- Attribute -->
162 <tr>
163 <td bgcolor="#eeeeee" valign="top" align="left">
164 <font color="#000000" size="-1" face="arial,helvetica,sanserif">input</font>
165 </td>
166 <td bgcolor="#eeeeee" valign="top" align="left">
167 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Optional attribute that indicates the name of the input wsdl file. The output wsdl file will contain everything from the input wsdl file plus the new constructs. If a new construct is already present in the input wsdl file, it is not added. This option is useful for constructing a wsdl file with multiple ports, bindings, or portTypes.</font>
168 </td>
169 <td bgcolor="#eeeeee" valign="top" align="left">
170 <font color="#000000" size="-1" face="arial,helvetica,sanserif">File</font>
171 </td>
172 </tr>
173 <!-- Attribute -->
174 <tr>
175 <td bgcolor="#eeeeee" valign="top" align="left">
176 <font color="#000000" size="-1" face="arial,helvetica,sanserif">location</font>
177 </td>
178 <td bgcolor="#eeeeee" valign="top" align="left">
179 <font color="#000000" size="-1" face="arial,helvetica,sanserif">The url of the location of the service. The name after the last slash or backslash is the name of the service port (unless overridden by the -s option). The service port address location attribute is assigned the specified value.</font>
180 </td>
181 <td bgcolor="#eeeeee" valign="top" align="left">
182 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
183 </td>
184 </tr>
185 <!-- Attribute -->
186 <tr>
187 <td bgcolor="#eeeeee" valign="top" align="left">
188 <font color="#000000" size="-1" face="arial,helvetica,sanserif">locationimport</font>
189 </td>
190 <td bgcolor="#eeeeee" valign="top" align="left">
191 <font color="#000000" size="-1" face="arial,helvetica,sanserif">the location of the interface WSDL when generating an implementation WSDL Required when <tt>outputImpl</tt> is set</font>
192 </td>
193 <td bgcolor="#eeeeee" valign="top" align="left">
194 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
195 </td>
196 </tr>
197 <!-- Attribute -->
198 <tr>
199 <td bgcolor="#eeeeee" valign="top" align="left">
200 <font color="#000000" size="-1" face="arial,helvetica,sanserif">methods</font>
201 </td>
202 <td bgcolor="#eeeeee" valign="top" align="left">
203 <font color="#000000" size="-1" face="arial,helvetica,sanserif">If this option is specified, only the indicated methods in your interface class will be exported into the WSDL file. The methods list must be comma separated. If not specified, all methods declared in the interface class will be exported into the WSDL file</font>
204 </td>
205 <td bgcolor="#eeeeee" valign="top" align="left">
206 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
207 </td>
208 </tr>
209 <!-- Attribute -->
210 <tr>
211 <td bgcolor="#eeeeee" valign="top" align="left">
212 <font color="#000000" size="-1" face="arial,helvetica,sanserif">namespace</font>
213 </td>
214 <td bgcolor="#eeeeee" valign="top" align="left">
215 <font color="#000000" size="-1" face="arial,helvetica,sanserif">the target namespace. Required.</font>
216 </td>
217 <td bgcolor="#eeeeee" valign="top" align="left">
218 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
219 </td>
220 </tr>
221 <!-- Attribute -->
222 <tr>
223 <td bgcolor="#eeeeee" valign="top" align="left">
224 <font color="#000000" size="-1" face="arial,helvetica,sanserif">namespaceimpl</font>
225 </td>
226 <td bgcolor="#eeeeee" valign="top" align="left">
227 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Namespace of the implementation WSDL.</font>
228 </td>
229 <td bgcolor="#eeeeee" valign="top" align="left">
230 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
231 </td>
232 </tr>
233 <!-- Attribute -->
234 <tr>
235 <td bgcolor="#eeeeee" valign="top" align="left">
236 <font color="#000000" size="-1" face="arial,helvetica,sanserif">output</font>
237 </td>
238 <td bgcolor="#eeeeee" valign="top" align="left">
239 <font color="#000000" size="-1" face="arial,helvetica,sanserif">The name of the output WSDL file. If not specified, a suitable default WSDL file is written into the current directory.</font>
240 </td>
241 <td bgcolor="#eeeeee" valign="top" align="left">
242 <font color="#000000" size="-1" face="arial,helvetica,sanserif">File</font>
243 </td>
244 </tr>
245 <!-- Attribute -->
246 <tr>
247 <td bgcolor="#eeeeee" valign="top" align="left">
248 <font color="#000000" size="-1" face="arial,helvetica,sanserif">outputimpl</font>
249 </td>
250 <td bgcolor="#eeeeee" valign="top" align="left">
251 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Use this option to indicate the name of the output implementation WSDL file. If specified, Java2WSDL will produce separate interface and implementation WSDL files. If not, a single WSDL file is generated</font>
252 </td>
253 <td bgcolor="#eeeeee" valign="top" align="left">
254 <font color="#000000" size="-1" face="arial,helvetica,sanserif">File</font>
255 </td>
256 </tr>
257 <!-- Attribute -->
258 <tr>
259 <td bgcolor="#eeeeee" valign="top" align="left">
260 <font color="#000000" size="-1" face="arial,helvetica,sanserif">porttypename</font>
261 </td>
262 <td bgcolor="#eeeeee" valign="top" align="left">
263 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Indicates the name to use use for the portType element. If not specified, the class-of-portType name is used.</font>
264 </td>
265 <td bgcolor="#eeeeee" valign="top" align="left">
266 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
267 </td>
268 </tr>
269 <!-- Attribute -->
270 <tr>
271 <td bgcolor="#eeeeee" valign="top" align="left">
272 <font color="#000000" size="-1" face="arial,helvetica,sanserif">serviceelementname</font>
273 </td>
274 <td bgcolor="#eeeeee" valign="top" align="left">
275 <font color="#000000" size="-1" face="arial,helvetica,sanserif">the name of the service element. If not specified, the service element is the <tt>portTypeName</tt>Service.</font>
276 </td>
277 <td bgcolor="#eeeeee" valign="top" align="left">
278 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
279 </td>
280 </tr>
281 <!-- Attribute -->
282 <tr>
283 <td bgcolor="#eeeeee" valign="top" align="left">
284 <font color="#000000" size="-1" face="arial,helvetica,sanserif">serviceportname</font>
285 </td>
286 <td bgcolor="#eeeeee" valign="top" align="left">
287 <font color="#000000" size="-1" face="arial,helvetica,sanserif">service port name (obtained from location if not specified)</font>
288 </td>
289 <td bgcolor="#eeeeee" valign="top" align="left">
290 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
291 </td>
292 </tr>
293 <!-- Attribute -->
294 <tr>
295 <td bgcolor="#eeeeee" valign="top" align="left">
296 <font color="#000000" size="-1" face="arial,helvetica,sanserif">soapaction</font>
297 </td>
298 <td bgcolor="#eeeeee" valign="top" align="left">
299 <font color="#000000" size="-1" face="arial,helvetica,sanserif">The setter for the "soapAction" attribute</font>
300 </td>
301 <td bgcolor="#eeeeee" valign="top" align="left">
302 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
303 </td>
304 </tr>
305 <!-- Attribute -->
306 <tr>
307 <td bgcolor="#eeeeee" valign="top" align="left">
308 <font color="#000000" size="-1" face="arial,helvetica,sanserif">stopclasses</font>
309 </td>
310 <td bgcolor="#eeeeee" valign="top" align="left">
311 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Comma separated list of classes which stop the Java2WSDL inheritance search.</font>
312 </td>
313 <td bgcolor="#eeeeee" valign="top" align="left">
314 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
315 </td>
316 </tr>
317 <!-- Attribute -->
318 <tr>
319 <td bgcolor="#eeeeee" valign="top" align="left">
320 <font color="#000000" size="-1" face="arial,helvetica,sanserif">style</font>
321 </td>
322 <td bgcolor="#eeeeee" valign="top" align="left">
323 <font color="#000000" size="-1" face="arial,helvetica,sanserif">The style of the WSDL document: RPC, DOCUMENT or WRAPPED. If RPC, a rpc/encoded wsdl is generated. If DOCUMENT, a document/literal wsdl is generated. If WRAPPED, a document/literal wsdl is generated using the wrapped approach.</font>
324 </td>
325 <td bgcolor="#eeeeee" valign="top" align="left">
326 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
327 </td>
328 </tr>
329 <!-- Attribute -->
330 <tr>
331 <td bgcolor="#eeeeee" valign="top" align="left">
332 <font color="#000000" size="-1" face="arial,helvetica,sanserif">typemappingversion</font>
333 </td>
334 <td bgcolor="#eeeeee" valign="top" align="left">
335 <font color="#000000" size="-1" face="arial,helvetica,sanserif">the default type mapping registry to use. Either 1.1 or 1.2. Default is 1.1</font>
336 </td>
337 <td bgcolor="#eeeeee" valign="top" align="left">
338 <font color="#000000" size="-1" face="arial,helvetica,sanserif">"1.1", "1.2"</font>
339 </td>
340 </tr>
341 <!-- Attribute -->
342 <tr>
343 <td bgcolor="#eeeeee" valign="top" align="left">
344 <font color="#000000" size="-1" face="arial,helvetica,sanserif">use</font>
345 </td>
346 <td bgcolor="#eeeeee" valign="top" align="left">
347 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Set the use option</font>
348 </td>
349 <td bgcolor="#eeeeee" valign="top" align="left">
350 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
351 </td>
352 </tr>
353 <!-- Attribute -->
354 <tr>
355 <td bgcolor="#eeeeee" valign="top" align="left">
356 <font color="#000000" size="-1" face="arial,helvetica,sanserif">useinheritedmethods</font>
357 </td>
358 <td bgcolor="#eeeeee" valign="top" align="left">
359 <font color="#000000" size="-1" face="arial,helvetica,sanserif">should inherited methods be exported too? Default=false</font>
360 </td>
361 <td bgcolor="#eeeeee" valign="top" align="left">
362 <font color="#000000" size="-1" face="arial,helvetica,sanserif">boolean</font>
363 </td>
364 </tr>
365
366
367 </table>
368 </blockquote></td></tr>
369
370 </table>
371 <!-- End Attributes -->
372
373 <!-- Start Elements -->
374 <table border="0" cellspacing="0" cellpadding="2" width="100%">
375 <tr><td>&nbsp;</td></tr>
376
377 <tr><td bgcolor="#525D76">
378 <font color="#ffffff" face="arial,helvetica.sanserif">
379 <a name="elements">
380 <strong>Parameters as nested elements</strong></a></font>
381 </td></tr>
382
383 <tr><td><blockquote>
384 <!-- Start Element -->
385 <table border="0" cellspacing="0" cellpadding="2" width="100%">
386 <tr><td>&nbsp;</td></tr>
387 <tr><td bgcolor="#828DA6">
388 <font color="#ffffff" face="arial,helvetica.sanserif" size="-1">
389 <strong>complextype</strong> (org.apache.axis.tools.ant.wsdl.ComplexType)</font>
390 </td></tr>
391 <tr><td><blockquote>
392 Nested element for Complex Types. Each Complex Type uses the following fields:
393 <!-- Ignore -->
394 <!-- Ignore -->
395
396 </blockquote></td></tr>
397 </table>
398 <!-- End Element -->
399 <!-- Start Element -->
400 <table border="0" cellspacing="0" cellpadding="2" width="100%">
401 <tr><td>&nbsp;</td></tr>
402 <tr><td bgcolor="#828DA6">
403 <font color="#ffffff" face="arial,helvetica.sanserif" size="-1">
404 <strong>mapping</strong> (org.apache.axis.tools.ant.wsdl.NamespaceMapping)</font>
405 </td></tr>
406 <tr><td><blockquote>
407 add a mapping of namespaces to packages
408 <!-- Ignore -->
409 <!-- Ignore -->
410
411 </blockquote></td></tr>
412 </table>
413 <!-- End Element -->
414 <!-- Start Element -->
415 <table border="0" cellspacing="0" cellpadding="2" width="100%">
416 <tr><td>&nbsp;</td></tr>
417 <tr><td bgcolor="#828DA6">
418 <font color="#ffffff" face="arial,helvetica.sanserif" size="-1">
419 <strong>mappingset</strong> (org.apache.axis.tools.ant.wsdl.MappingSet)</font>
420 </td></tr>
421 <tr><td><blockquote>
422 add a mapping of namespaces to packages
423 <!-- Ignore -->
424 <!-- Ignore -->
425
426 </blockquote></td></tr>
427 </table>
428 <!-- End Element -->
429 <!-- Start Element -->
430 <table border="0" cellspacing="0" cellpadding="2" width="100%">
431 <tr><td>&nbsp;</td></tr>
432 <tr><td bgcolor="#828DA6">
433 <font color="#ffffff" face="arial,helvetica.sanserif" size="-1">
434 <strong>classpath</strong> (org.apache.tools.ant.types.Path)</font>
435 </td></tr>
436 <tr><td><blockquote>
437 add a classpath containing the java classes.
438 <!-- Ignore -->
439 <!-- Ignore -->
440
441 </blockquote></td></tr>
442 </table>
443 <!-- End Element -->
444
445 </blockquote></td></tr>
446
447 </table>
448 <!-- End Elements -->
449
450
451 </td>
452 </tr>
453 <!-- END RIGHT SIDE MAIN BODY -->
454
455 <!-- FOOTER SEPARATOR -->
456 <tr>
457 <td>
458 <hr noshade="" size="1"/>
459 </td>
460 </tr>
461
462 <!-- PAGE FOOTER -->
463 <tr>
464 <td>
465 <div align="center"><font color="#525D76" size="-1"><em>
466 Copyright &#169; 2000-2003, Apache Software Foundation
467 </em></font></div>
468 </td>
469 </tr>
470
471 </table>
472
473 </body>
474 </html>