source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/docs/manual/OptionalTasks/wsdltodotnet.html@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

File size: 9.1 KB
Line 
1
2<html>
3<head>
4 <meta http-equiv="Content-Language" content="en-us">
5 <title>Wsdltodotnet
6 Task</title>
7<link rel="stylesheet" type="text/css" href="../stylesheets/antmanual.css">
8</head>
9
10<body bgcolor="#ffffff" text="#000000" link="#525D76"
11 alink="#525D76" vlink="#525D76">
12
13<table border="0" width="100%" cellspacing="4">
14
15 <!-- PAGE HEADER -->
16 <tr>
17 <td>
18 <table border="0" width="100%"><tr>
19 <td valign="bottom">
20 <font size="+3" face="arial,helvetica,sanserif"><strong>Wsdltodotnet
21 Task</strong></font>
22 <br><font face="arial,helvetica,sanserif">Converts a WSDL file or URL resource into a .NET language.</font>
23 </td>
24 <td>
25 <!-- PROJECT LOGO -->
26 <a href="http://ant.apache.org/">
27 <img src="../../images/ant_logo_large.gif" align="right" alt="Apache Ant" border="0"/>
28 </a>
29 </td>
30 </tr></table>
31 </td>
32 </tr>
33
34 <!-- START RIGHT SIDE MAIN BODY -->
35 <tr>
36 <td valign="top" align="left">
37
38 <!-- Applying task/long-description -->
39 <!-- Start Description -->
40 <table border="0" cellspacing="0" cellpadding="2" width="100%">
41 <tr><td>&nbsp;</td></tr>
42
43 <tr><td bgcolor="#525D76">
44 <font color="#ffffff" face="arial,helvetica.sanserif">
45 <a name="description">
46 <strong>Description</strong></a></font>
47 </td></tr>
48
49 <tr><td><blockquote>
50 Converts a WSDL file or URL resource into a .NET language. Why add a wrapper to the MS WSDL tool? So that you can verify that your web services, be they written with Axis or anyone else's SOAP toolkit, work with .NET clients. This task is dependency aware when using a file as a source and destination; so if you <code>&lt;get&gt;</code> the file (with <code>usetimestamp="true"</code>) then you only rebuild stuff when the WSDL file is changed. Of course, if the server generates a new timestamp every time you ask for the WSDL, this is not enough...use the <code>&lt;filesmatch&gt;</code> <code>&lt;condition&gt;</code> to to byte for byte comparison against a cached WSDL file then make the target conditional on that test failing. See "Creating an XML Web Service Proxy", "wsdl.exe" docs in the framework SDK documentation
51 </blockquote></td></tr>
52
53 </table>
54 <!-- End Description -->
55
56 <!-- Start Attributes -->
57 <table border="0" cellspacing="0" cellpadding="2" width="100%">
58 <tr><td>&nbsp;</td></tr>
59 <tr><td bgcolor="#525D76">
60 <font color="#ffffff" face="arial,helvetica.sanserif">
61 <a name="attributes">
62 <strong>Parameters</strong></a></font>
63 </td></tr>
64 <tr><td><blockquote>
65 <table>
66 <tr>
67 <td bgcolor="#cccccc" valign="top" align="left">
68 <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Attribute</b></font>
69 </td>
70 <td bgcolor="#cccccc" valign="top" align="left">
71 <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Description</b></font>
72 </td>
73 <td bgcolor="#cccccc" valign="top" align="left">
74 <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Type</b></font>
75 </td>
76 <td bgcolor="#cccccc" valign="top" align="left">
77 <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Requirement</b></font>
78 </td>
79 </tr>
80 <!-- Attribute Group -->
81
82 <!-- Attribute Group -->
83 <!-- Attribute -->
84 <tr>
85 <td bgcolor="#eeeeee" valign="top" align="left">
86 <font color="#000000" size="-1" face="arial,helvetica,sanserif">destfile</font>
87 </td>
88 <td bgcolor="#eeeeee" valign="top" align="left">
89 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Name of the file to generate. Required</font>
90 </td>
91 <td bgcolor="#eeeeee" valign="top" align="left">
92 <font color="#000000" size="-1" face="arial,helvetica,sanserif">File</font>
93 </td>
94 <td bgcolor="#eeeeee" valign="top" align="left" rowspan="8">
95 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Optional</font>
96 </td>
97 </tr>
98 <!-- Attribute -->
99 <tr>
100 <td bgcolor="#eeeeee" valign="top" align="left">
101 <font color="#000000" size="-1" face="arial,helvetica,sanserif">extraoptions</font>
102 </td>
103 <td bgcolor="#eeeeee" valign="top" align="left">
104 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Any extra WSDL.EXE options which aren't explicitly supported by the ant wrapper task; optional</font>
105 </td>
106 <td bgcolor="#eeeeee" valign="top" align="left">
107 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
108 </td>
109 </tr>
110 <!-- Attribute -->
111 <tr>
112 <td bgcolor="#eeeeee" valign="top" align="left">
113 <font color="#000000" size="-1" face="arial,helvetica,sanserif">failonerror</font>
114 </td>
115 <td bgcolor="#eeeeee" valign="top" align="left">
116 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Whether or not a failure should halt the build. Optional - default is <code>true</code>.</font>
117 </td>
118 <td bgcolor="#eeeeee" valign="top" align="left">
119 <font color="#000000" size="-1" face="arial,helvetica,sanserif">boolean</font>
120 </td>
121 </tr>
122 <!-- Attribute -->
123 <tr>
124 <td bgcolor="#eeeeee" valign="top" align="left">
125 <font color="#000000" size="-1" face="arial,helvetica,sanserif">language</font>
126 </td>
127 <td bgcolor="#eeeeee" valign="top" align="left">
128 <font color="#000000" size="-1" face="arial,helvetica,sanserif">set the language; one of "CS", "JS", or "VB" optional, default is CS for C# source</font>
129 </td>
130 <td bgcolor="#eeeeee" valign="top" align="left">
131 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
132 </td>
133 </tr>
134 <!-- Attribute -->
135 <tr>
136 <td bgcolor="#eeeeee" valign="top" align="left">
137 <font color="#000000" size="-1" face="arial,helvetica,sanserif">namespace</font>
138 </td>
139 <td bgcolor="#eeeeee" valign="top" align="left">
140 <font color="#000000" size="-1" face="arial,helvetica,sanserif">namespace to place the source in. optional; default ""</font>
141 </td>
142 <td bgcolor="#eeeeee" valign="top" align="left">
143 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
144 </td>
145 </tr>
146 <!-- Attribute -->
147 <tr>
148 <td bgcolor="#eeeeee" valign="top" align="left">
149 <font color="#000000" size="-1" face="arial,helvetica,sanserif">server</font>
150 </td>
151 <td bgcolor="#eeeeee" valign="top" align="left">
152 <font color="#000000" size="-1" face="arial,helvetica,sanserif">flag to enable server side code generation; optional, default=false</font>
153 </td>
154 <td bgcolor="#eeeeee" valign="top" align="left">
155 <font color="#000000" size="-1" face="arial,helvetica,sanserif">boolean</font>
156 </td>
157 </tr>
158 <!-- Attribute -->
159 <tr>
160 <td bgcolor="#eeeeee" valign="top" align="left">
161 <font color="#000000" size="-1" face="arial,helvetica,sanserif">srcfile</font>
162 </td>
163 <td bgcolor="#eeeeee" valign="top" align="left">
164 <font color="#000000" size="-1" face="arial,helvetica,sanserif">The local WSDL file to parse; either url or srcFile is required.</font>
165 </td>
166 <td bgcolor="#eeeeee" valign="top" align="left">
167 <font color="#000000" size="-1" face="arial,helvetica,sanserif">File</font>
168 </td>
169 </tr>
170 <!-- Attribute -->
171 <tr>
172 <td bgcolor="#eeeeee" valign="top" align="left">
173 <font color="#000000" size="-1" face="arial,helvetica,sanserif">url</font>
174 </td>
175 <td bgcolor="#eeeeee" valign="top" align="left">
176 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Sets the URL to fetch. Fetching is by wsdl.exe; Ant proxy settings are ignored; either url or srcFile is required.</font>
177 </td>
178 <td bgcolor="#eeeeee" valign="top" align="left">
179 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
180 </td>
181 </tr>
182
183
184 </table>
185 </blockquote></td></tr>
186
187 </table>
188 <!-- End Attributes -->
189
190 <!-- Start Elements -->
191 <table border="0" cellspacing="0" cellpadding="2" width="100%">
192 <tr><td>&nbsp;</td></tr>
193
194 <tr><td bgcolor="#525D76">
195 <font color="#ffffff" face="arial,helvetica.sanserif">
196 <a name="elements">
197 <strong>Parameters as nested elements</strong></a></font>
198 </td></tr>
199
200 <tr><td><blockquote>
201
202 </blockquote></td></tr>
203
204 </table>
205 <!-- End Elements -->
206
207
208 </td>
209 </tr>
210 <!-- END RIGHT SIDE MAIN BODY -->
211
212 <!-- FOOTER SEPARATOR -->
213 <tr>
214 <td>
215 <hr noshade="" size="1"/>
216 </td>
217 </tr>
218
219 <!-- PAGE FOOTER -->
220 <tr>
221 <td>
222 <div align="center"><font color="#525D76" size="-1"><em>
223 Copyright &copy; 2000-2004, The Apache Software Foundation. All Rights Reserved.
224 </em></font></div>
225 </td>
226 </tr>
227
228</table>
229
230</body>
231</html>
Note: See TracBrowser for help on using the repository browser.