myeclipse jax-ws web client
myeclipse jax-ws web client
客户端的建立:
一.建立 Java Project
w_webservice_client
二.File -> new ->other -> MyEclipse ->Web service -> Web service Client
Framework : jax-ws
NEXT ->
wsdl file:w_webservice\WebRoot\WEB-INF\wsdl\HelloService.wsdl
NEXT -> Finish
三.写测试程序:
package com.wsg.test; import com.wsg.ws.HelloDelegate; import com.wsg.ws.HelloService; public class Test { /** * @param args */ public static void main(String[] args) { HelloService hello = new HelloService(); HelloDelegate hd = hello.getHelloPort(); System.out.println(hd.sayHello("dmm")); } }
相关推荐
xieyixiao 2020-04-16
GUAOSHITAIDU 2011-09-17
人亦有言进退维谷 2013-11-29
kobeyan 2013-06-17
SunnyZero 2013-03-19
香帅 2011-10-28
oMMing 2011-05-05
84457417 2010-12-16
fengzhizi0 2010-07-15
yhahaha 2010-06-09
AHRL 2008-10-08
XiaoMuFireAnt 2008-03-23
kyle00 2007-12-05
随矜而去BLOG 2011-09-20
程序员吗 2019-03-28
weixuejunphp 2019-04-10
rrkn0rrkn 2019-04-09