我的java天地

          axis2開發(fā)隨記

          1.先根據(jù)命令生成相關(guān)文件
          2.以下是調(diào)用代碼備份
          public int[] getMeasure(String UserName, String UserPwd, int type)
          ???throws RemoteException {
          ??// 獲得Stub實例
          ??InterfaceStub.GetMeasure smsSendEx = new InterfaceStub.GetMeasure();
          ??// 設(shè)置接口參數(shù)
          ??smsSendEx.setUserName(UserName);
          ??smsSendEx.setUserPwd(UserPwd);
          ??smsSendEx.setType(type);
          ??// 得到返回值
          ??InterfaceStub.GetMeasureResponse res = stub.GetMeasure(smsSendEx);

          ??int CMount = res.getCMount();// 月余額
          ??int CDAY = res.getCDay();// 日余額

          ??int[] arry = { CMount, CDAY };

          ??System.out.println("取賬號余額====> 月余額:" + CMount + "....日余額:" + CDAY);
          ??return arry;
          ?}

          posted on 2010-07-30 11:54 tobyxiong 閱讀(134) 評論(0)  編輯  收藏 所屬分類: java

          <2010年7月>
          27282930123
          45678910
          11121314151617
          18192021222324
          25262728293031
          1234567

          導(dǎo)航

          統(tǒng)計

          常用鏈接

          留言簿(3)

          隨筆分類(144)

          隨筆檔案(157)

          相冊

          最新隨筆

          搜索

          積分與排名

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 静乐县| 闻喜县| 奈曼旗| 高台县| 万盛区| 屯昌县| 广安市| 雷州市| 马鞍山市| 教育| 安化县| 辉南县| 碌曲县| 阿拉善右旗| 凌云县| 慈溪市| 论坛| 盐城市| 若羌县| 招远市| 达尔| 鄂伦春自治旗| 北票市| 横峰县| 康定县| 故城县| 宁海县| 金门县| 罗田县| 蒙山县| 班玛县| 龙游县| 永定县| 亳州市| 邹城市| 正镶白旗| 平定县| 铜川市| 大冶市| 富裕县| 定兴县|