congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
WebserviceapMessages.WEBSERVICEAP_INVALID_WEBMETHOD_ELEMENT_WITH_EXCLUDE
Code IndexAdd Tabnine to your IDE (free)

How to use
WEBSERVICEAP_INVALID_WEBMETHOD_ELEMENT_WITH_EXCLUDE
method
in
com.sun.tools.ws.resources.WebserviceapMessages

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

origin: org.glassfish.metro/webservices-tools

protected boolean hasWebMethods(TypeElement element) {
  if (element.getQualifiedName().toString().equals(Object.class.getName()))
    return false;
  WebMethod webMethod;
  for (ExecutableElement method : ElementFilter.methodsIn(element.getEnclosedElements())) {
    webMethod = method.getAnnotation(WebMethod.class);
    if (webMethod != null) {
      if (webMethod.exclude()) {
        if (webMethod.operationName().length() > 0)
          builder.processError(WebserviceapMessages.WEBSERVICEAP_INVALID_WEBMETHOD_ELEMENT_WITH_EXCLUDE(
              "operationName", element.getQualifiedName(), method.toString()), method);
        if (webMethod.action().length() > 0)
          builder.processError(WebserviceapMessages.WEBSERVICEAP_INVALID_WEBMETHOD_ELEMENT_WITH_EXCLUDE(
              "action", element.getQualifiedName(), method.toString()), method);
      } else {
        return true;
      }
    }
  }
  return false;//hasWebMethods(d.getSuperclass().getDeclaration());
}
origin: com.sun.xml.ws/jaxws-tools

protected boolean hasWebMethods(TypeElement element) {
  if (element.getQualifiedName().toString().equals(Object.class.getName()))
    return false;
  WebMethod webMethod;
  for (ExecutableElement method : ElementFilter.methodsIn(element.getEnclosedElements())) {
    webMethod = method.getAnnotation(WebMethod.class);
    if (webMethod != null) {
      if (webMethod.exclude()) {
        if (webMethod.operationName().length() > 0)
          builder.processError(WebserviceapMessages.WEBSERVICEAP_INVALID_WEBMETHOD_ELEMENT_WITH_EXCLUDE(
              "operationName", element.getQualifiedName(), method.toString()), method);
        if (webMethod.action().length() > 0)
          builder.processError(WebserviceapMessages.WEBSERVICEAP_INVALID_WEBMETHOD_ELEMENT_WITH_EXCLUDE(
              "action", element.getQualifiedName(), method.toString()), method);
      } else {
        return true;
      }
    }
  }
  return false;//hasWebMethods(d.getSuperclass().getDeclaration());
}
origin: javaee/metro-jax-ws

protected boolean hasWebMethods(TypeElement element) {
  if (element.getQualifiedName().toString().equals(Object.class.getName()))
    return false;
  WebMethod webMethod;
  for (ExecutableElement method : ElementFilter.methodsIn(element.getEnclosedElements())) {
    webMethod = method.getAnnotation(WebMethod.class);
    if (webMethod != null) {
      if (webMethod.exclude()) {
        if (webMethod.operationName().length() > 0)
          builder.processError(WebserviceapMessages.WEBSERVICEAP_INVALID_WEBMETHOD_ELEMENT_WITH_EXCLUDE(
              "operationName", element.getQualifiedName(), method.toString()), method);
        if (webMethod.action().length() > 0)
          builder.processError(WebserviceapMessages.WEBSERVICEAP_INVALID_WEBMETHOD_ELEMENT_WITH_EXCLUDE(
              "action", element.getQualifiedName(), method.toString()), method);
      } else {
        return true;
      }
    }
  }
  return false;//hasWebMethods(d.getSuperclass().getDeclaration());
}
origin: javaee/metro-jax-ws

protected boolean hasWebMethods(TypeElement element) {
  if (element.getQualifiedName().toString().equals(Object.class.getName()))
    return false;
  WebMethod webMethod;
  for (ExecutableElement method : ElementFilter.methodsIn(element.getEnclosedElements())) {
    webMethod = method.getAnnotation(WebMethod.class);
    if (webMethod != null) {
      if (webMethod.exclude()) {
        if (webMethod.operationName().length() > 0)
          builder.processError(WebserviceapMessages.WEBSERVICEAP_INVALID_WEBMETHOD_ELEMENT_WITH_EXCLUDE(
              "operationName", element.getQualifiedName(), method.toString()), method);
        if (webMethod.action().length() > 0)
          builder.processError(WebserviceapMessages.WEBSERVICEAP_INVALID_WEBMETHOD_ELEMENT_WITH_EXCLUDE(
              "action", element.getQualifiedName(), method.toString()), method);
      } else {
        return true;
      }
    }
  }
  return false;//hasWebMethods(d.getSuperclass().getDeclaration());
}
com.sun.tools.ws.resourcesWebserviceapMessagesWEBSERVICEAP_INVALID_WEBMETHOD_ELEMENT_WITH_EXCLUDE

Javadoc

The @javax.jws.WebMethod.{0} element cannot be specified with the @javax.jws.WebMethod.exclude element. Class: {1} method: {2}

Popular methods of WebserviceapMessages

  • WEBSERVICEAP_COULD_NOT_FIND_TYPEDECL
    Could not get TypeElement for: {0} in annotation processing round: {1}
  • WEBSERVICEAP_DOC_BARE_AND_NO_ONE_IN
    Document literal bare methods must have one non-header, IN/INOUT parameter. Class: {0} Method: {1}
  • WEBSERVICEAP_DOC_BARE_NO_OUT
    Document/literal bare methods with no return type or OUT/INOUT parameters must be annotated as @Onew
  • WEBSERVICEAP_DOC_BARE_NO_RETURN_AND_NO_OUT
    Document literal bare methods that do not have a return value must have a single OUT/INOUT parameter
  • WEBSERVICEAP_DOC_BARE_RETURN_AND_OUT
    Document/literal bare methods cannot have a return type and out parameters. Class: {0}, method: {1}
  • WEBSERVICEAP_ENDPOINTINTEFACE_PLUS_ANNOTATION
    The @{0} annotation cannot be used in with @javax.jws.WebService.endpointInterface element.
  • WEBSERVICEAP_ENDPOINTINTEFACE_PLUS_ELEMENT
    The @javax.jws.WebService.{0} element cannot be used in with @javax.jws.WebService.endpointInterface
  • WEBSERVICEAP_ENDPOINTINTERFACES_DO_NOT_MATCH
    The endpoint interface {0} does not match the interface {1}.
  • WEBSERVICEAP_ENDPOINTINTERFACE_CLASS_NOT_FOUND
    The endpointInterface class {0} could not be found
  • WEBSERVICEAP_ENDPOINTINTERFACE_HAS_NO_WEBSERVICE_ANNOTATION
    The endpoint interface {0} must have a WebService annotation
  • WEBSERVICEAP_ENDPOINTINTERFACE_ON_INTERFACE
    Service endpoint interface: {0} cannot have a WebService.endpointInterface annotation: {1}
  • WEBSERVICEAP_HOLDER_PARAMETERS_MUST_NOT_BE_IN_ONLY
    javax.xml.ws.Holder parameters must not be annotated with the WebParam.Mode.IN property. Class: {0}
  • WEBSERVICEAP_ENDPOINTINTERFACE_ON_INTERFACE,
  • WEBSERVICEAP_HOLDER_PARAMETERS_MUST_NOT_BE_IN_ONLY,
  • WEBSERVICEAP_INVALID_SEI_ANNOTATION,
  • WEBSERVICEAP_INVALID_SEI_ANNOTATION_ELEMENT,
  • WEBSERVICEAP_INVALID_SEI_ANNOTATION_ELEMENT_EXCLUDE,
  • WEBSERVICEAP_INVALID_SOAPBINDING_PARAMETERSTYLE,
  • WEBSERVICEAP_METHOD_EXCEPTION_BEAN_NAME_NOT_UNIQUE,
  • WEBSERVICEAP_METHOD_NOT_IMPLEMENTED,
  • WEBSERVICEAP_METHOD_PARAMETER_TYPES_CANNOT_IMPLEMENT_REMOTE

Popular in Java

  • Reactive rest calls using spring rest template
  • requestLocationUpdates (LocationManager)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • runOnUiThread (Activity)
  • String (java.lang)
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • JOptionPane (javax.swing)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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