qqjianyue代碼工

          砌java代碼
          posts - 62, comments - 9, trackbacks - 0, articles - 10
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          JAX-WS client

          Posted on 2011-09-16 16:58 Qzi 閱讀(623) 評論(0)  編輯  收藏
          1.綁定本地接口,自動生成代理對象
          復制下面鏈接代碼
          // Endpoint Address
          String endpointAddress = "http://localhost:8111/helloWorld";
          // Add a port to the Service
          service.addPort(PORT_NAME, SOAPBinding.SOAP11HTTP_BINDING, endpointAddress);
          HelloService hw = service.getPort(HelloService.class);

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 萨嘎县| 宾阳县| 乐东| 驻马店市| 阿荣旗| 苗栗县| 凤阳县| 洛扎县| 上饶市| 拜城县| 朝阳市| 芦山县| 松潘县| 巧家县| 平武县| 商南县| 永善县| 当阳市| 灵宝市| 吉安市| 牙克石市| 井陉县| 正镶白旗| 清徐县| 博湖县| 毕节市| 夏津县| 张北县| 岑巩县| 阿鲁科尔沁旗| 阜阳市| 广汉市| 靖宇县| 随州市| 赤水市| 新源县| 安平县| 含山县| 涡阳县| 民县| 高州市|