Java调第三方的webservice接口
1、eclipse中add dynamic web project
2、选中项目右键new——> webservice ——> webservice client
在service definition中(wsdl地址):http://eistest.donghuicredit.com/BizInvestService?wsdl
3、调用代码(一个Java 文件以Proxy结尾)
DhzxWebServiceProxy proxy = new DhzxWebServiceProxy("http://eistest.donghuicredit.com/BizInvestService?wsdl");
String res = proxy.postCheckRealNamePolice(str);