axis webservice 怎样传输复杂的对象
最近闲来无事,学习了下axis webservice,但当需要比较复杂的对象当做参数传输时,不知道部署文件(deploy.wsdd)怎么写,求大家帮帮小弟,呵呵
package bean;
import java.awt.Point;
import java.util.ArrayList;
import java.util.List;
public class OrderBean {
private int id;
private String name;
private String[] items;
private int price;
private List<java.awt.Point> list = new ArrayList<java.awt.Point>();
private boolean checked;
private java.awt.Point[] points;
public OrderBean() {
}
public OrderBean(int id, String name, String[] items, int price,List<Point> list,
boolean checked,Point[] points) {
this.id = id;
this.name = name;
this.items = items;
this.price = price;
this.list = list;
this.checked = checked;
this.points = points;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String[] getItems() {
return items;
}
public void setItems(String[] items) {
this.items = items;
}
public int getPrice() {
return price;
}
public void setPrice(int price) {
this.price = price;
}
public List<Point> getList() {
return list;
}
public void setList(List<Point> list) {
this.list = list;
}
public boolean isChecked() {
return checked;
}
public void setChecked(boolean checked) {
this.checked = checked;
}
public java.awt.Point[] getPoints() {
return points;
}
public void setPoints(java.awt.Point[] points) {
this.points = points;
}
}