客户端请求DTO和服务器端的DTO定义不一样,客户端必须定义@XmlAccessorType和@XmlType,如:
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "insureAcceptMessageDTO", propOrder = {
"applyId",
"gateNo",
"payAmount"
})
public class InsureAcceptMessageDTO {
...略
}