axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua.Wh...@hartfordlife.com
Subject How to avoid hardcoding the location of wsdl file in generated source?
Date Mon, 08 May 2006 19:07:15 GMT

<br><font size=2 face="sans-serif">When using the axis-wsdl2java ant task, the
location of the wsdl file gets hard coded in the generated client code. &nbsp;I need to
move my app between environments without having to recompile. &nbsp;How do I prevent this
from happening? &nbsp;Is there another alternative?</font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br>
<br><font size=2 face="sans-serif">Joshua</font>
<br>
<br><font size=2 face="sans-serif">&lt;axis-wsdl2java</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; output=&quot;${generated.src.dir}&quot;</font>
<br><font size=2 face="sans-serif"><b>&nbsp; &nbsp; &nbsp; </b>&nbsp;
&nbsp;serverside=&quot;true&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; skeletondeploy=&quot;false&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; url=&quot;${generatedwsdl}&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; verbose=&quot;false&quot;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; debug=&quot;false&quot;&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &lt;classpath refid=&quot;axis.classpath&quot;/&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &lt;/axis-wsdl2java&gt;</font>
<FONT SIZE=3><BR>
<BR>
*************************************************************************<BR>
This communication, including attachments, is<BR>
for the exclusive use of addressee and may contain proprietary,<BR>
confidential and/or privileged information.  If you are not the intended<BR>
recipient, any use, copying, disclosure, dissemination or distribution is<BR>
strictly prohibited.  If you are not the intended recipient, please notify<BR>
the sender immediately by return e-mail, delete this communication and<BR>
destroy all copies.<BR>
*************************************************************************<BR>
</FONT>

Mime
View raw message