axis2通过wsdl生成客户端程序并本地调用

wsdl2java -uri http://10.0.5.12/brm/services/RuleEngine1374389539674484?wsdl -p east.mvc.webservice.client -o stub

 

RuleEngine1374389539674484Stub stub = null;
try {
stub = new RuleEngine1374389539674484Stub();
RuleEngine1374389539674484Stub.GetCutCatList cutCatList = new RuleEngine1374389539674484Stub.GetCutCatList();

System.out.println(stub.getCutCatList(cutCatList).getOut());
} catch (Exception e) {
e.printStackTrace();
}

你可能感兴趣的:(axis2)