1、
2、填服务地址(wsdl的地址。)
3、调用Demo
package xyz.jangle.demo;
import java.rmi.RemoteException;
import localhost.services.xxx.xxxPortTypeProxy;
public class OaWebServerClient {
public static void main(String[] args) {
xxxPortTypeProxy proxy = new xxxPortTypeProxy();
String res = null;
try {
res = proxy.xxxMethod("方法的入参");
} catch (RemoteException e) {
e.printStackTrace();
}
System.out.println(res);
}
}