Codota Logo
WscompileMessages.WSGEN_INVALID_PROTOCOL
Code IndexAdd Codota to your IDE (free)

How to use
WSGEN_INVALID_PROTOCOL
method
in
com.sun.tools.ws.resources.WscompileMessages

Best Java code snippets using com.sun.tools.ws.resources.WscompileMessages.WSGEN_INVALID_PROTOCOL (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: javaee/metro-jax-ws

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();
}
/**
origin: javaee/metro-jax-ws

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();
}
/**
origin: com.sun.xml.ws/jaxws-tools

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();
}
/**
origin: org.glassfish.metro/webservices-tools

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();
}
/**
com.sun.tools.ws.resourcesWscompileMessagesWSGEN_INVALID_PROTOCOL

Javadoc

"{0}" is not a supported protocol. Supported protocols include: {1}.

Popular methods of WscompileMessages

  • INVOKER_NEED_ENDORSED
    You are running on JDK6 or newer which comes with JAX-WS {0} API, but this tool requires JAX-WS {1}
  • WRAPPER_TASK_LOADING_INCORRECT_API
    You are loading JAX-WS {0} API from {1} but this tool requires JAX-WS {2} API.
  • WRAPPER_TASK_NEED_ENDORSED
    You are running on JDK6 or newer which comes with JAX-WS {0} API, but this tool requires JAX-WS {1}
  • WSCOMPILE_CANT_GET_COMPILER
    No Java compiler found. Perhaps environment/JDK problem? Used JVM: {0}, {1}/{2}
  • WSCOMPILE_COMPILATION_FAILED
    compilation failed, errors should have been reported
  • WSCOMPILE_ERROR
    error: {0}
  • WSCOMPILE_EXISTING_OPTION
    Ignoring already defined option {0}
  • WSCOMPILE_INVALID_OPTION
    unrecognized parameter {0}
  • WSCOMPILE_MISSING_OPTION_ARGUMENT
    option "{0}" requires an argument
  • WSCOMPILE_NO_SUCH_DIRECTORY
    directory not found: {0}
  • WSCOMPILE_UNSUPPORTED_ENCODING
    unsupported encoding: {0}
  • WSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING
    wsgen can not generate WSDL for non-SOAP binding: {0} on Class {1}
  • WSCOMPILE_UNSUPPORTED_ENCODING,
  • WSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING,
  • WSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING,
  • WSGEN_CLASS_MUST_BE_IMPLEMENTATION_CLASS,
  • WSGEN_CLASS_NOT_FOUND,
  • WSGEN_FULLVERSION,
  • WSGEN_HELP,
  • WSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL,
  • WSGEN_MISSING_FILE

Popular in Java

  • Start an intent from android
  • getSharedPreferences (Context)
  • getContentResolver (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • JPanel (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now