package com.zhos.client; import org.apache.cxf.endpoint.Client; import org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory; public class Client3 { public static void main(String[] args) throws Exception { JaxWsDynamicClientFactory clientFactory = JaxWsDynamicClientFactory.newInstance(); Client client = clientFactory.createClient("http://localhost:9000/helloWorldService?wsdl"); Object[] result = client.invoke("sayHello", new Object[]{"KEVIN"}); System.out.println(result[0]); } }
最近下载更多
lizw007 LV10
2022年1月20日
14095219w LV5
2022年1月11日
cc900118 LV17
2021年10月11日
xk646842195 LV2
2020年10月14日
liuyilin9608 LV15
2020年5月17日
15398544947 LV9
2020年4月20日
632941115 LV3
2020年3月11日
1358849392 LV20
2019年12月19日
dengjunjun LV15
2019年12月11日
landongming1987 LV1
2019年10月12日