$ wscompile -import D:/path_to_wsdl_file/wsdl_file.wsdl -d D:/path_to_output_dir import com.example.generated.*; public class WebServiceClient { public static void main(String[] args) { WebServicePortType webServicePort = new WebService().getWebServicePort(); String result = webServicePort.sayHello("John"); System.out.println(result); } }


上一篇:
下一篇:
切换中文