????2??????Eclipse???????WebServiceclient????????????
?????????newproject?????other???????????????WebServiceClient???????????????????Next????Servicedefinition??????WebService?????????????Finish
??????????WebServiceClient???????????????
??????????д???Test????main?????????????′???
Stringendpoint="????????WebService????";
YourWebServiceNameProxyumsp=newYourWebServiceNameProxy(endpoint);
try{
StringresultStr=umsp.opMethod("arg0"??"arg1");
System.out.println(resultStr);
}catch(Exceptione){
System.out.println("??");
e.printStackTrace();
}catch(RemoteExceptione){
System.out.println("RemoteException??");
e.printStackTrace();
}