Skip to main content
summaryrefslogtreecommitdiffstats
blob: 438e89c85f868c89ecab8c8c4550ca5aaf619316 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="copyright" content="Copyright (c) 2000, 2008 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html. Contributors: IBM Corporation - initial API and implementation" />
<meta name="DC.rights.owner" content="(C) Copyright 2000, 2008" />
<meta content="public" name="security" />
<meta content="index,follow" name="Robots" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta content="reference" name="DC.Type" />
<meta name="DC.Title" content="Axis Web service client Ant task properties file reference" />
<meta name="abstract" content="The axis_client.properties file is used to pass data to the Web services Ant tasks when creating an Axis Web service client. This file shows the available options." />
<meta name="description" content="The axis_client.properties file is used to pass data to the Web services Ant tasks when creating an Axis Web service client. This file shows the available options." />
<meta content="Axis runtime environment, Web services client, Ant task reference, Web services, Axis runtime environment, Ant task reference" name="DC.subject" />
<meta content="Axis runtime environment, Web services client, Ant task reference, Web services, Axis runtime environment, Ant task reference" name="keywords" />
<meta scheme="URI" name="DC.Relation" content="../topics/twbwsclienta.html" />
<meta content="XHTML" name="DC.Format" />
<meta content="axiswebserviceclientcommandlinereference" name="DC.Identifier" />
<meta content="en-us" name="DC.Language" />
<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
<title>Axis Web service client Ant task properties file reference</title>
</head>
<body id="axiswebserviceclientcommandlinereference"><a name="axiswebserviceclientcommandlinereference"><!-- --></a>


<h1 class="topictitle1">Axis Web service client Ant task properties file reference</h1>



<div><p>The <kbd class="userinput">axis_client.properties</kbd> file is used
to pass data to the Web services Ant tasks when creating an Axis Web service
client. This file shows the available options.</p>

<div class="section"><h4 class="sectiontitle">Parameters</h4><dl>
<dt class="dlterm">ScenarioType</dt>

<dd><span class="synph"> Options: <samp class="codeph">client</samp></span></dd>

<dd class="ddexpand">This is a required element that tells the Ant task if it is creating a
Web service or a Web service client.</dd>


<dt class="dlterm">InitialSelection</dt>

<dd>Enter the workspace relative URI to the WSDL file or Java bean within
your workspace. For example <kbd class="userinput">/dynamicWebProjectName/WebContent/myService.wsdl</kbd> or <kbd class="userinput">/dynamicWebProjectName/src/myBean.java</kbd></dd>


<dt class="dlterm">ListRuntimes</dt>

<dd><span class="synph"> Options: <samp class="codeph">true</samp> <samp class="codeph">false</samp></span></dd>

<dd class="ddexpand">If <samp class="codeph">true</samp> is selected, the list of valid runtime options
will be provided when the Ant task is run.</dd>


<dt class="dlterm">ListServers</dt>

<dd><span class="synph"> Options: <samp class="codeph">true</samp> <samp class="codeph">false</samp></span></dd>

<dd class="ddexpand">If <samp class="codeph">true</samp> is selected, the list of valid server options
will be provided when the Ant task is run.</dd>


<dt class="dlterm">Client.RuntimeId</dt>

<dd>This is the ID of the Web service's runtime. This parameter should not
be modified.</dd>


<dt class="dlterm">Client.ServerId</dt>

<dd>Options:<ul class="simple">
<li><samp class="codeph">org.eclipse.jst.server.tomcat.x</samp> (where <samp class="codeph">x</samp> is <samp class="codeph">32,
40, 41, 50,</samp> or <samp class="codeph">55</samp>)</li>

<li><samp class="codeph">org.eclipse.jst.server.generic.weblogicx</samp> (where <samp class="codeph">x</samp> is <samp class="codeph">81</samp> or <samp class="codeph">90</samp>) </li>

<li><samp class="codeph">org.eclipse.jst.server.generic.jbossx</samp> (where <samp class="codeph">x</samp> is <samp class="codeph">323</samp> or <samp class="codeph">4</samp>)</li>

<li><samp class="codeph">org.eclipse.jst.server.generic.jonas4</samp></li>

<li><samp class="codeph">org.eclipse.jst.server.generic.oracle1013</samp></li>

<li><samp class="codeph">org.eclipse.jst.servers.websphere.6</samp></li>

</ul>
</dd>

<dd class="ddexpand">This is the ID of the target server. Delete or comment out this parameter
to have the Ant task select the correct value based on the server settings
of the dynamic Web project.</dd>


<dt class="dlterm">ClientProjectName</dt>

<dd>By default the client project is given the name of the WSDL file or Java
bean from which it is created. Use this parameter to create the service project
with a different name.</dd>


<dt class="dlterm">ClientEarProjectName</dt>

<dd>By default the client EAR project is given the name of the WSDL file or
Java bean from which it is created. Use this parameter to create the service
EAR project with a different name.</dd>


<dt class="dlterm">ClientComponentType</dt>

<dd><p>Options: <kbd class="userinput">jst.web</kbd> <kbd class="userinput">jst.java</kbd></p>
<p>Use
this parameter to select the type of client project. The only valid client
project type for Axis clients is <kbd class="userinput">jst.web</kbd>.</p>
</dd>


<dt class="dlterm">CustomizeClientMappings</dt>

<dd><p>Options: <kbd class="userinput">true</kbd> <kbd class="userinput">false</kbd></p>
<p>Mappings
are used to override the default namespace names in the generated WSDL. The
content of the properties file must be of the format namespace=package. You
will need to escape some special characters in the properties files.  For
example <samp class="codeph">http://someNamespace=somePackage</samp> should be <samp class="codeph">http\://someNamespace=somePackage</samp>.
 Otherwise, the colon (:) would be treated as delimiter resulting in trying
to map <samp class="codeph">http</samp> to <samp class="codeph">//someNamespace=somePackage</samp>.</p>
</dd>


<dt class="dlterm">Mappings</dt>

<dd>Enter the workspace relative URI to a property file containing mappings. </dd>


<dt class="dlterm">OverwriteFilesEnabled</dt>

<dd><span class="synph"> Options: <samp class="codeph">true</samp> <samp class="codeph">false</samp></span></dd>

<dd class="ddexpand">Use this parameter to tell the Ant task to overwrite any file that it
creates with the same name as an existing file. By default this is set to <samp class="codeph">true</samp>.</dd>


<dt class="dlterm">CreateFoldersEnabled</dt>

<dd><span class="synph"> Options: <samp class="codeph">true</samp> <samp class="codeph">false</samp></span></dd>

<dd class="ddexpand">Use this parameter to tell the Ant task to create any neccessary folders.
By default this is set to <samp class="codeph">true</samp>.</dd>


<dt class="dlterm">CheckoutFilesEnabled</dt>

<dd><span class="synph"> Options: <samp class="codeph">true</samp> <samp class="codeph">false</samp></span></dd>

<dd class="ddexpand">Use this parameter to tell the Ant task to checkout files from CVS without
prompting you. By default this is set to <samp class="codeph">true</samp>.</dd>

</dl>
</div>

</div>

<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="../topics/twbwsclienta.html" title="If you have a WSDL file you can use Ant through the Eclipse workspace to generate a Web service client using the Axis run-time environment.">Creating a Web service client using Ant tasks</a></div>
</div>
</div>

</body>
</html>

Back to the top