public void validate() throws BadCommandLineException { if(nonclassDestDir == null) nonclassDestDir = destDir; if (!protocols.contains(protocol)) { throw new BadCommandLineException(WscompileMessages.WSGEN_INVALID_PROTOCOL(protocol, protocols)); } if (endpoints.isEmpty()) { throw new BadCommandLineException(WscompileMessages.WSGEN_MISSING_FILE()); } if (protocol == null || protocol.equalsIgnoreCase(X_SOAP12) && !isExtensionMode()) { throw new BadCommandLineException(WscompileMessages.WSGEN_SOAP_12_WITHOUT_EXTENSION()); } if (nonstdProtocols.containsKey(protocol) && !isExtensionMode()) { throw new BadCommandLineException(WscompileMessages.WSGEN_PROTOCOL_WITHOUT_EXTENSION(protocol)); } if (inlineSchemas && !genWsdl) { throw new BadCommandLineException(WscompileMessages.WSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL()); } validateEndpointClass(); validateArguments(); } /**
public void validate() throws BadCommandLineException { if(nonclassDestDir == null) nonclassDestDir = destDir; if (!protocols.contains(protocol)) { throw new BadCommandLineException(WscompileMessages.WSGEN_INVALID_PROTOCOL(protocol, protocols)); } if (endpoints.isEmpty()) { throw new BadCommandLineException(WscompileMessages.WSGEN_MISSING_FILE()); } if (protocol == null || protocol.equalsIgnoreCase(X_SOAP12) && !isExtensionMode()) { throw new BadCommandLineException(WscompileMessages.WSGEN_SOAP_12_WITHOUT_EXTENSION()); } if (nonstdProtocols.containsKey(protocol) && !isExtensionMode()) { throw new BadCommandLineException(WscompileMessages.WSGEN_PROTOCOL_WITHOUT_EXTENSION(protocol)); } if (inlineSchemas && !genWsdl) { throw new BadCommandLineException(WscompileMessages.WSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL()); } validateEndpointClass(); validateArguments(); } /**
public void validate() throws BadCommandLineException { if(nonclassDestDir == null) nonclassDestDir = destDir; if (!protocols.contains(protocol)) { throw new BadCommandLineException(WscompileMessages.WSGEN_INVALID_PROTOCOL(protocol, protocols)); } if (endpoints.isEmpty()) { throw new BadCommandLineException(WscompileMessages.WSGEN_MISSING_FILE()); } if (protocol == null || protocol.equalsIgnoreCase(X_SOAP12) && !isExtensionMode()) { throw new BadCommandLineException(WscompileMessages.WSGEN_SOAP_12_WITHOUT_EXTENSION()); } if (nonstdProtocols.containsKey(protocol) && !isExtensionMode()) { throw new BadCommandLineException(WscompileMessages.WSGEN_PROTOCOL_WITHOUT_EXTENSION(protocol)); } if (inlineSchemas && !genWsdl) { throw new BadCommandLineException(WscompileMessages.WSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL()); } validateEndpointClass(); validateArguments(); } /**
public void validate() throws BadCommandLineException { if(nonclassDestDir == null) nonclassDestDir = destDir; if (!protocols.contains(protocol)) { throw new BadCommandLineException(WscompileMessages.WSGEN_INVALID_PROTOCOL(protocol, protocols)); } if (endpoints.isEmpty()) { throw new BadCommandLineException(WscompileMessages.WSGEN_MISSING_FILE()); } if (protocol == null || protocol.equalsIgnoreCase(X_SOAP12) && !isExtensionMode()) { throw new BadCommandLineException(WscompileMessages.WSGEN_SOAP_12_WITHOUT_EXTENSION()); } if (nonstdProtocols.containsKey(protocol) && !isExtensionMode()) { throw new BadCommandLineException(WscompileMessages.WSGEN_PROTOCOL_WITHOUT_EXTENSION(protocol)); } if (inlineSchemas && !genWsdl) { throw new BadCommandLineException(WscompileMessages.WSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL()); } validateEndpointClass(); validateArguments(); } /**