利用Axis Ant Task生成Web Service客户端代码时的build.xml(转载自网上g的一篇文章,详细出处不记录得啦),内容如下:
<?xml version="1.0" encoding="UTF-8"?>
<project name="wsclient" default="all" basedir=".">
<property name="axis.home" location="D:\学习资料\WebService\Axis\axis-bin-1_4\axis-1_4" />
<property name="options.output" location="." />
<path id="axis.classpath">
<fileset dir="${axis.home}/lib">
<include name="**/*.jar" />
</fileset>
</path>
<taskdef resource="axis-tasks.properties" classpathref="axis.classpath" />
<target name="-WSDL2Axis" depends="init">
<mkdir dir="${options.output}" />
<axis-wsdl2java output="${options.output}" url="${options.WSDL-URI}" verbose="true" />
</target>
<target name="init">
<echo>Warning: please update the associated WSDL file(s) in the folder wsdl before running the target!</echo>
<echo>Warning: Just run the target(s) related with your developing work!</echo>
<echo>
</echo>
</target>
<target name="all">
<antcall target="myService" />
</target>
<target name="myService">
<antcall target="-WSDL2Axis">
<param name="options.WSDL-URI" location="gatewayOrderQuery.wsdl" />
</antcall>
</target>
</project>
分享到:
相关推荐
AXIS2生成客户端代码(myeclipse)及文档教程
一般我们都是在命令行下用WSDL2Java工具生成WEB Service 客户端代码,繁琐的Java环境变量,以及命令行参数很容易出错,为了提高效率,我用Swing做了一个图形界面生成器,输入WSDL地址(可以是本地路径或远程地址)...
axis2根据wsdl生成java客户端代码 D:\Software\axis2-1.6.2\bin>wsdl2java.bat -uri http://10.33.30.216:9099/facs/services/ResourceSynchroWebService?wsdl -o E:\wsdloutput -p com.util wsdl2java.bat -uri ...
axis1.4生成访问客户端代码
axis2根据wsdl生成客户端代码,org.apache.axis.wsdl.WSDL2Java配置"src/???.wsdl"自动生成代码
使用Eclipse的Axis1.4插件开发Web Service及客户端
使用axis2 1.6.2 生成webservice wsdl客户端代码,快速便捷,方便操作。使用有问题可留言,如看到尽快回复
简单地描述下怎么使用 eclipse 生成 Axis2 Web Service 客户端。
该包中含有: 1.axis1.4-bin.zip 2.wsdl2java.bat批处理脚本 3.客户端调用时缺失的mail.jar和activation.jar,没有这两个包执行客户端代码可能会报错。
axis自动生成客户端代码,不同于axis2,
axis配置指南 axis配置指南 service.xml形式 axis配置指南 service.xml形式
axis2支持webservice 自动生成代码客户端服务端代码 基于eclipse
Web Service WebService Axis一个完整的客户端代码
axis2生成客户端服务端代码
axis2生成客户端代码 (带jar包)
axis2根据wsdl地址生成webservice客户端代码及使用方法
AXIS生成java请求客户端,直接下载,修改本地jdk路径和输出代码路径即可
Chapter 3, Axis2 XML Model (AXIOM) - Learn about the heart of a web service framework and learning more about XML processing in Axis2. Chapter 4, Execution Chain - Learn how to extend the core ...
NULL 博文链接:https://wilian.iteye.com/blog/1992365