public static List<String> generate(Model model, WsimportOptions options, ErrorReceiver receiver) { // options check // Generate it according the implDestDir option if (options.implDestDir == null) return null; JwsImplGenerator jwsImplGenerator = new JwsImplGenerator(); jwsImplGenerator.init(model, options, receiver); jwsImplGenerator.doGeneration(); // print a warning message while implFiles.size() is zero if (jwsImplGenerator.implFiles.isEmpty()) { StringBuilder msg = new StringBuilder(); if (options.implServiceName != null) msg.append("serviceName=[").append(options.implServiceName).append("] "); if (options.implPortName != null) msg.append("portName=[").append(options.implPortName).append("] "); if (msg.length() > 0) msg.append(", Not found in wsdl file.\n"); msg.append("No impl files generated!"); receiver.warning(null, msg.toString()); } return jwsImplGenerator.implFiles; }
public static List<String> generate(Model model, WsimportOptions options, ErrorReceiver receiver) { // options check // Generate it according the implDestDir option if (options.implDestDir == null) return null; JwsImplGenerator jwsImplGenerator = new JwsImplGenerator(); jwsImplGenerator.init(model, options, receiver); jwsImplGenerator.doGeneration(); // print a warning message while implFiles.size() is zero if (jwsImplGenerator.implFiles.isEmpty()) { StringBuilder msg = new StringBuilder(); if (options.implServiceName != null) msg.append("serviceName=[").append(options.implServiceName).append("] "); if (options.implPortName != null) msg.append("portName=[").append(options.implPortName).append("] "); if (msg.length() > 0) msg.append(", Not found in wsdl file.\n"); msg.append("No impl files generated!"); receiver.warning(null, msg.toString()); } return jwsImplGenerator.implFiles; }
public static List<String> generate(Model model, WsimportOptions options, ErrorReceiver receiver) { // options check // Generate it according the implDestDir option if (options.implDestDir == null) return null; JwsImplGenerator jwsImplGenerator = new JwsImplGenerator(); jwsImplGenerator.init(model, options, receiver); jwsImplGenerator.doGeneration(); // print a warning message while implFiles.size() is zero if (jwsImplGenerator.implFiles.isEmpty()) { StringBuilder msg = new StringBuilder(); if (options.implServiceName != null) msg.append("serviceName=[").append(options.implServiceName).append("] "); if (options.implPortName != null) msg.append("portName=[").append(options.implPortName).append("] "); if (msg.length() > 0) msg.append(", Not found in wsdl file.\n"); msg.append("No impl files generated!"); receiver.warning(null, msg.toString()); } return jwsImplGenerator.implFiles; }
public static List<String> generate(Model model, WsimportOptions options, ErrorReceiver receiver) { // options check // Generate it according the implDestDir option if (options.implDestDir == null) return null; JwsImplGenerator jwsImplGenerator = new JwsImplGenerator(); jwsImplGenerator.init(model, options, receiver); jwsImplGenerator.doGeneration(); // print a warning message while implFiles.size() is zero if (jwsImplGenerator.implFiles.isEmpty()) { StringBuilder msg = new StringBuilder(); if (options.implServiceName != null) msg.append("serviceName=[").append(options.implServiceName).append("] "); if (options.implPortName != null) msg.append("portName=[").append(options.implPortName).append("] "); if (msg.length() > 0) msg.append(", Not found in wsdl file.\n"); msg.append("No impl files generated!"); receiver.warning(null, msg.toString()); } return jwsImplGenerator.implFiles; }