在BasicSMSRecv方法中有两个参数AppAddressHolder appAddr,BasicSMSContext context 其中appAddr是INOUT类型的,代码:
@WebMethod(operationName = "BasicSMSRecv", action = "")
@WebResult(name = "IntegerOutput", targetNamespace = "http://cn/com/mt2/SPlatform/server/ServiceTemplatePortType")
public int basicSMSRecv(
@WebParam(name = "appAddr", targetNamespace = "http://cn/com/mt2/SPlatform/server/ServiceTemplatePortType" , mode = WebParam.Mode.INOUT)
AppAddressHolder appAddr,
@WebParam(name = "context", targetNamespace = "http://cn/com/mt2/SPlatform/server/ServiceTemplatePortType")
BasicSMSContext context);
@WebMethod(operationName = "BasicSMSRecv", action = "")
@WebResult(name = "IntegerOutput", targetNamespace = "http://cn/com/mt2/SPlatform/server/ServiceTemplatePortType")
public int basicSMSRecv(
@WebParam(name = "appAddr", targetNamespace = "http://cn/com/mt2/SPlatform/server/ServiceTemplatePortType" , mode = WebParam.Mode.INOUT)
AppAddressHolder appAddr,
@WebParam(name = "context", targetNamespace = "http://cn/com/mt2/SPlatform/server/ServiceTemplatePortType")
BasicSMSContext context);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货