axis webservice教程
利用AXIS开发Webservice(三) —— 如何传递javabean和你的对象
在第一篇介绍Axis的文章里,我们做了一个简单的webservice,我们client side传递了String和int类型的数据给service object。Service处理之后返回处理结果给Client。对于大多数需求,那个demo显然已经足够应付了。但是如果client端需要传输一个对象给server,那么那个demo就显得力不从心了。Axis中提供了远程传输对象的方法,通过那些方法我们同样可以随心的传递自己的对象。
我们先从传递一个JavaBean开始,首先编写一个JavaBean。
Java代码
package com.chnic.bean;
public class OrderBean {
private String name;
private int age;
private String[] items;
private int[] price;
private boolean checked;
public OrderBean() {
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
public boolean isChecked() {
return checked;
}
public void setChecked(boolean checked) {
this.checked = checked;
}
public String[] getItems() {
return items;
}
public void setItems(String[] items) {
利用AXIS 开发 Webservice(一) —— 如何 发布自己的 webservice 先介绍下本人开发环境吧。 JDK 1.4.2 + Myeclipse 6.0 (实在经不起诱惑, 尝尝鲜) + Tomcat...
利用AXIS 开发 Webservice(一) —— 如何 一 发布自己的 webservice 先介绍下本人开发环境吧。 JDK 1.4.2 + Myeclipse 6.0 (实在经不起诱惑, 尝尝鲜) + ...
Axis2(WebService)经典教程_IT/计算机_专业资料。重点讲解了Axis2的核心功能,并提供了三个项目以使理解并掌握如何将Axis2应用于不同的场景。...
AXIS 框架搭建 webservice 简易教程 1.1 Axis 介绍 Axis(Apache eXtendsible Interaction System 的缩写) 是一款开源的 WebService 运行引擎,它是 SOAP 协议的 一个...
axis+webservice教程_IT/计算机_专业资料。axis+webservice教程说明利用AXIS 开发 Webservice(一) —— 如何 发布自己的 webservice 先介绍下本人开发环境吧。 JDK ...
axis2之webservice新手超详细教程_IT/计算机_专业资料。实用myeclipse+axis2,发布webservice服务,使用mysql数据库,接口方法返回自定义对象集合...
axis+webservice教程_IT/计算机_专业资料。axis+webservice教程利用AXIS 开发 Webservice(一) —— 如何 一 发布自己的 webservice 先介绍下本人开发环境吧。 JDK ...
Axis2 webservice 发布教程 ,整合到自己的项目中_计算机软件及应用_IT/计算机_专业资料。Axis2,webservice,发布 ,教程今日推荐 89份文档 ...
WebService 大讲堂之 Axis2 系列教程 1. 用 POJO 实现 0 配置的 WebService 2. 4. 6. 复合类型数据的传递 二进制文件传输 跨服务会话(Session)管理 3. 使用...
Axis+webservice教程_IT/计算机_专业资料。Axis+webservice教程利用AXIS 开发 Webservice(一) —— 如何 一 发布自己的 webservice 先介绍下本人开发环境吧。 JDK ...
热门文档