我的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)

          相冊

          最新隨筆

          搜索

          積分與排名

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 时尚| 安吉县| 庆安县| 黑河市| 屯门区| 吉安市| 贡觉县| 嵊泗县| 抚宁县| 高青县| 昭觉县| 德阳市| 连山| 突泉县| 永嘉县| 伊川县| 大竹县| 报价| 留坝县| 北碚区| 桐庐县| 多伦县| 香格里拉县| 天门市| 绥滨县| 孟村| 巨野县| 黄山市| 凤冈县| 牡丹江市| 万山特区| 上高县| 铜梁县| 依兰县| 高青县| 灵山县| 钟山县| 新宁县| 新蔡县| 山阳县| 建水县|