axis2的安装与部署,以及实例下载
2008-04-14 16:12
507 查看
一. axis2的安装与部署
1.下载axis2-1.2.zip并 unzip
2.引入到eclipse并用ant build一下,在dist目录生成axis2.war文件
3.将axis2.war文件放到tomcat下运行。
4。然后再写客户端,比如sapmle\quickstart中的代码
加入bulid.xml,用ant生成StockQuoteService.aar文件
4,然后在Axis2的Administrator page页面默认(username/password)admin/axis2
进入后,点击upload services 上传StockQuoteService.aar就可以了。
5。访问测试:
http://localhost:8080/axis2/services/StockQuoteService/getPrice?symbol=IBM
You will get the following response:
<ns:getPriceResponse><ns:return>42.0</ns:return></ns:getPriceResponse>
注意:
1。程序通过build.xml自动生成.aar文件并copy到web server下的axis2下的services才能访问.
2. Axis2 中,服务部署信息包含在 services.xml 文件
3.
Using the 'Disengage' link, you can disengage the corresponding module as long as the module is not globally engaged (i.e.,
engaged to all the services and operations).
4。
Click on a specific service and it will give you the WSDL file of that particular service.
Axis Data Binding (ADB)
5.
创建一个服务分 4 个步骤:
a. 编写实现代码
b. 用 service.xml 来解释这个服务
c. 创建一个 *.aar 的服务部署包
d. 发布服务
6.附一个web service实例下载
用法:采用build.xml自动生成xXX.aar文件放到web server下的axis2下,运行ant rpc.client,然后就可以在远程访问了。 http://dl2.csdn.net/down4/20070731/31134634141.rar
Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1719084
1.下载axis2-1.2.zip并 unzip
2.引入到eclipse并用ant build一下,在dist目录生成axis2.war文件
3.将axis2.war文件放到tomcat下运行。
4。然后再写客户端,比如sapmle\quickstart中的代码
加入bulid.xml,用ant生成StockQuoteService.aar文件
4,然后在Axis2的Administrator page页面默认(username/password)admin/axis2
进入后,点击upload services 上传StockQuoteService.aar就可以了。
5。访问测试:
http://localhost:8080/axis2/services/StockQuoteService/getPrice?symbol=IBM
You will get the following response:
<ns:getPriceResponse><ns:return>42.0</ns:return></ns:getPriceResponse>
注意:
1。程序通过build.xml自动生成.aar文件并copy到web server下的axis2下的services才能访问.
2. Axis2 中,服务部署信息包含在 services.xml 文件
3.
Using the 'Disengage' link, you can disengage the corresponding module as long as the module is not globally engaged (i.e.,
engaged to all the services and operations).
4。
Click on a specific service and it will give you the WSDL file of that particular service.
Axis Data Binding (ADB)
5.
创建一个服务分 4 个步骤:
a. 编写实现代码
b. 用 service.xml 来解释这个服务
c. 创建一个 *.aar 的服务部署包
d. 发布服务
6.附一个web service实例下载
用法:采用build.xml自动生成xXX.aar文件放到web server下的axis2下,运行ant rpc.client,然后就可以在远程访问了。 http://dl2.csdn.net/down4/20070731/31134634141.rar
Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1719084
相关文章推荐
- axis2的安装与部署,以及实例下载
- JBOSS的下载安装、环境变量配置以及部署
- Tomcat安装以及多实例部署
- memcache实战之三 :客户端 enyim.com Memcached Client 的安装与调试以及实例,2012年下载地址
- Weblogic下载安装以及部署针对jdk1.8环境下
- Tomcat 安装以及部署网站实例
- Weblogic下载安装以及部署
- CentOS6.5 上部署 MySQL5.7.17 二进制安装以及多实例配置
- JBOSS的下载安装、环境变量配置以及部署
- JBOSS EAP6.2.0的下载安装、环境变量配置以及部署
- Kong 网关API安装部署以及应用实例----------腾云驾雾
- 中间件weblogic的下载,安装,集成eclipse,以及项目部署
- myelipse下载 安装部署 以及svn maven相关配置说明
- JBOSS的下载安装、环境变量配置以及部署
- JBOSS的下载安装、环境变量配置以及部署
- android sdk的下载以及安装
- 使用docker安装部署Spark集群来训练CNN(含Python实例)
- JDK的下载以及安装
- eclipse安装gpd插件以及部署jBPM4.4示例
- .net 利用 Jmail 发送邮件(实例和Jmail4.3组件下载)以及Jmail参数说明