我的java天地

          axis2開發隨記

          1.先根據命令生成相關文件
          2.以下是調用代碼備份
          public int[] getMeasure(String UserName, String UserPwd, int type)
          ???throws RemoteException {
          ??// 獲得Stub實例
          ??InterfaceStub.GetMeasure smsSendEx = new InterfaceStub.GetMeasure();
          ??// 設置接口參數
          ??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 閱讀(136) 評論(0)  編輯  收藏 所屬分類: java

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

          導航

          統計

          常用鏈接

          留言簿(3)

          隨筆分類(144)

          隨筆檔案(157)

          相冊

          最新隨筆

          搜索

          積分與排名

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 满洲里市| 汾西县| 绥芬河市| 潜江市| 保德县| 伊通| 崇义县| 海淀区| 孟连| 达尔| 精河县| 武鸣县| 荆州市| 云安县| 昌乐县| 佳木斯市| 子长县| 大英县| 永顺县| 韶山市| 勃利县| 榕江县| 景德镇市| 栾城县| 天全县| 调兵山市| 芦山县| 阿拉善右旗| 军事| 诸城市| 阆中市| 嘉峪关市| 于都县| 永福县| 南郑县| 尉犁县| 衡水市| 阜平县| 芜湖县| 昌乐县| 滨海县|