我把我的测试代码贴出来,大家帮忙看看,是那里写错了,
//下行
package test;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import com.huawei.smproxy.SGIPSMProxy;
import com.huawei.smproxy.comm.sgip.message.SGIPMessage;
import com.huawei.smproxy.comm.sgip.message.SGIPSubmitMessage;
import com.huawei.smproxy.comm.sgip.message.SGIPSubmitRepMessage;
import com.huawei.smproxy.util.Args;
public class SGIPTest {
//private static Logger log = LogManager.getLogger("send");
private static String SPNumber = "";
private static String ChargeNumber = "13052490455"; 计费号码 这里号码就不写了
private static String ServiceType = "SHGRP";
private static String host = "220.196.52.119"; // 主机名
private static int port = 8801; // 端口号
private static String CorpId = "91549"; // 企业代码
private static String login_Name = ""; // 登陆名
private static String login_PassWord = ""; // 登陆密码
/**
* @param args
* @throws InterruptedException
*/
public static void main(String[] args) throws Exception {
// TODO Auto-generated method stub
Args argstr = new Args();
argstr.set("host", host);
argstr.set("port", port);
argstr.set("transaction-timeout", 10); // 操作超时时间(单位:秒)
argstr.set("read-timeout", 15); // 物理连接读操作超时时间(单位:秒)
argstr.set("sourc