[size=large]
1.准备jar
2.写个测试类
import org.apache.cxf.tools.wsdlto.WSDLToJava;
public class Test {
public static void main(String[] args) {
System.out.println("debug");
WSDLToJava.main(new String[] {
"-impl",
"-client",
"-d","src",
"-p","com.cdg.cdp.manage.ws.policyno.impl" ,
"http://192.168.76.167:8080/manage/ws/queryPolicyNo?wsdl"});
System.out.println("Done!");
}
}
[/size]
1.准备jar
2.写个测试类
import org.apache.cxf.tools.wsdlto.WSDLToJava;
public class Test {
public static void main(String[] args) {
System.out.println("debug");
WSDLToJava.main(new String[] {
"-impl",
"-client",
"-d","src",
"-p","com.cdg.cdp.manage.ws.policyno.impl" ,
"http://192.168.76.167:8080/manage/ws/queryPolicyNo?wsdl"});
System.out.println("Done!");
}
}
[/size]