Tabnine Logo
WscompileMessages.WSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: javaee/metro-jax-ws

private void validateBinding() throws BadCommandLineException {
  if (genWsdl) {
    BindingID binding = BindingID.parse(endpoint);
    if ((binding.equals(BindingID.SOAP12_HTTP) ||
       binding.equals(BindingID.SOAP12_HTTP_MTOM)) &&
        !(protocol.equals(X_SOAP12) && isExtensionMode())) {
      throw new BadCommandLineException(WscompileMessages.WSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(binding.toString(), endpoint.getName()));
    }
    if (binding.equals(BindingID.XML_HTTP)) {
      throw new BadCommandLineException(WscompileMessages.WSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING(binding.toString(), endpoint.getName()));
    }
  }
}
origin: org.glassfish.metro/webservices-tools

private void validateBinding() throws BadCommandLineException {
  if (genWsdl) {
    BindingID binding = BindingID.parse(endpoint);
    if ((binding.equals(BindingID.SOAP12_HTTP) ||
       binding.equals(BindingID.SOAP12_HTTP_MTOM)) &&
        !(protocol.equals(X_SOAP12) && isExtensionMode())) {
      throw new BadCommandLineException(WscompileMessages.WSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(binding.toString(), endpoint.getName()));
    }
    if (binding.equals(BindingID.XML_HTTP)) {
      throw new BadCommandLineException(WscompileMessages.WSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING(binding.toString(), endpoint.getName()));
    }
  }
}
origin: com.sun.xml.ws/jaxws-tools

private void validateBinding() throws BadCommandLineException {
  if (genWsdl) {
    BindingID binding = BindingID.parse(endpoint);
    if ((binding.equals(BindingID.SOAP12_HTTP) ||
       binding.equals(BindingID.SOAP12_HTTP_MTOM)) &&
        !(protocol.equals(X_SOAP12) && isExtensionMode())) {
      throw new BadCommandLineException(WscompileMessages.WSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(binding.toString(), endpoint.getName()));
    }
    if (binding.equals(BindingID.XML_HTTP)) {
      throw new BadCommandLineException(WscompileMessages.WSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING(binding.toString(), endpoint.getName()));
    }
  }
}
origin: javaee/metro-jax-ws

private void validateBinding() throws BadCommandLineException {
  if (genWsdl) {
    BindingID binding = BindingID.parse(endpoint);
    if ((binding.equals(BindingID.SOAP12_HTTP) ||
       binding.equals(BindingID.SOAP12_HTTP_MTOM)) &&
        !(protocol.equals(X_SOAP12) && isExtensionMode())) {
      throw new BadCommandLineException(WscompileMessages.WSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING(binding.toString(), endpoint.getName()));
    }
    if (binding.equals(BindingID.XML_HTTP)) {
      throw new BadCommandLineException(WscompileMessages.WSGEN_CANNOT_GEN_WSDL_FOR_NON_SOAP_BINDING(binding.toString(), endpoint.getName()));
    }
  }
}
com.sun.tools.ws.resourcesWscompileMessagesWSGEN_CANNOT_GEN_WSDL_FOR_SOAP_12_BINDING

Javadoc

wsgen can not generate WSDL for SOAP 1.2 binding: {0} on class: {1}.Please specify "-extension" and "-wsdl:protocol XSoap1.2" switches. For example:wsgen -wsdl:protocol XSoap1.2 -extenson {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_CLASS_MUST_BE_IMPLEMENTATION_CLASS,
  • WSGEN_CLASS_NOT_FOUND,
  • WSGEN_FULLVERSION,
  • WSGEN_HELP,
  • WSGEN_INLINE_SCHEMAS_ONLY_WITH_WSDL,
  • WSGEN_INVALID_PROTOCOL,
  • WSGEN_MISSING_FILE

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setContentView (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • runOnUiThread (Activity)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now