eclipse开发webservie java
1.下载axis2相关架包----war,bin是必须的; web
axis2的eclipse插件(2个)-http://apache.dataguru.cn/axis/axis2/java/core/ apache
org.apache.axis2.eclipse.codegen.plugin_0.0.0.SNAPSHOT.jar org.apache.axis2.eclipse.service.plugin_0.0.0.SNAPSHOT.jar
2.安装eclipse的axis2插件 服务器
将a中的两个jar文件放入eclipse路径下面的plugins文件夹下面,重启eclipse便可。成功标志-----new,出现Axis2 Wizards选项。 eclipse
3.在eclipse中配置axis2的运行环境 插件
Windows---->preferences---->Web Service---->Axis2 Preferences,选中Axis2 Runtime将a中下载的
4.编写服务器上面的web项目,而后建立webservice 注意: code
Service implementation: 须要提供出来的类----web项目的src目录下面
5.建立webservice client ip
注意:Web service runtime: Apache Axis2 开发