package com.young.client; import java.net.URL; import org.codehaus.xfire.client.Client; /** * Created with IntelliJ IDEA. * User: veryyoung * Email:codingyoung@gmail.com * Date: 13-12-1 * Time: 下午5:10 * To change this template use File | Settings | File Templates. */ public class ClientTest { public static void main(String[] args) throws Exception { Client client = new Client(new URL("http://localhost:8080/webservice/services/CalculatorService?wsdl")); Object[] results = client.invoke("add", new Object[]{1, 2}); System.out.println(results[0]); } }
最近下载更多
Zeorwyc LV8
2022年5月7日
dengjunjun LV15
2022年3月28日
lironggang LV38
2021年4月29日
心中无码 LV5
2020年8月17日
hehe264 LV20
2020年5月11日
羞羞小子 LV13
2020年4月17日
luqb890913 LV12
2019年7月24日
jeep123456 LV10
2019年7月13日
itcaizhe LV9
2019年5月14日
wsupsup LV16
2018年9月29日