congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Fault.setAction
Code IndexAdd Tabnine to your IDE (free)

How to use
setAction
method
in
com.sun.tools.ws.wsdl.document.Fault

Best Java code snippets using com.sun.tools.ws.wsdl.document.Fault.setAction (Showing top 8 results out of 315)

origin: javaee/metro-jax-ws

@Override
public boolean handleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) {
  String actionValue = XmlUtil.getAttributeNSOrNull(e, WSAM_ACTION_QNAME);
  if (actionValue == null || actionValue.equals("")) {
    errReceiver.warning(context.getLocation(e), WsdlMessages.WARNING_FAULT_EMPTY_ACTION(parent.getNameValue(), parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue()));
    return false; // keep compiler happy
  }
  ((Fault)parent).setAction(actionValue);
  return true;
}
origin: com.sun.xml.ws/jaxws-tools

@Override
public boolean handleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) {
  String actionValue = XmlUtil.getAttributeNSOrNull(e, WSAM_ACTION_QNAME);
  if (actionValue == null || actionValue.equals("")) {
    errReceiver.warning(context.getLocation(e), WsdlMessages.WARNING_FAULT_EMPTY_ACTION(parent.getNameValue(), parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue()));
    return false; // keep compiler happy
  }
  ((Fault)parent).setAction(actionValue);
  return true;
}
origin: org.glassfish.metro/webservices-tools

@Override
public boolean handleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) {
  String actionValue = XmlUtil.getAttributeNSOrNull(e, WSAM_ACTION_QNAME);
  if (actionValue == null || actionValue.equals("")) {
    errReceiver.warning(context.getLocation(e), WsdlMessages.WARNING_FAULT_EMPTY_ACTION(parent.getNameValue(), parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue()));
    return false; // keep compiler happy
  }
  ((Fault)parent).setAction(actionValue);
  return true;
}
origin: javaee/metro-jax-ws

@Override
public boolean handleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) {
  String actionValue = XmlUtil.getAttributeNSOrNull(e, WSAM_ACTION_QNAME);
  if (actionValue == null || actionValue.equals("")) {
    errReceiver.warning(context.getLocation(e), WsdlMessages.WARNING_FAULT_EMPTY_ACTION(parent.getNameValue(), parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue()));
    return false; // keep compiler happy
  }
  ((Fault)parent).setAction(actionValue);
  return true;
}
origin: com.sun.xml.ws/jaxws-tools

@Override
public boolean handleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) {
  if (extensionModeOn) {
    warn(context.getLocation(e));
    String actionValue = XmlUtil.getAttributeNSOrNull(e, WSA_ACTION_QNAME);
    if (actionValue == null || actionValue.equals("")) {
      errReceiver.warning(context.getLocation(e), WsdlMessages.WARNING_FAULT_EMPTY_ACTION(parent.getNameValue(), parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue()));
      return false; // keep compiler happy
    }
    ((Fault) parent).setAction(actionValue);
    return true;
  } else {
    return fail(context.getLocation(e));
  }
}
origin: javaee/metro-jax-ws

@Override
public boolean handleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) {
  if (extensionModeOn) {
    warn(context.getLocation(e));
    String actionValue = XmlUtil.getAttributeNSOrNull(e, WSA_ACTION_QNAME);
    if (actionValue == null || actionValue.equals("")) {
      errReceiver.warning(context.getLocation(e), WsdlMessages.WARNING_FAULT_EMPTY_ACTION(parent.getNameValue(), parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue()));
      return false; // keep compiler happy
    }
    ((Fault) parent).setAction(actionValue);
    return true;
  } else {
    return fail(context.getLocation(e));
  }
}
origin: org.glassfish.metro/webservices-tools

@Override
public boolean handleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) {
  if (extensionModeOn) {
    warn(context.getLocation(e));
    String actionValue = XmlUtil.getAttributeNSOrNull(e, WSA_ACTION_QNAME);
    if (actionValue == null || actionValue.equals("")) {
      errReceiver.warning(context.getLocation(e), WsdlMessages.WARNING_FAULT_EMPTY_ACTION(parent.getNameValue(), parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue()));
      return false; // keep compiler happy
    }
    ((Fault) parent).setAction(actionValue);
    return true;
  } else {
    return fail(context.getLocation(e));
  }
}
origin: javaee/metro-jax-ws

@Override
public boolean handleFaultExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) {
  if (extensionModeOn) {
    warn(context.getLocation(e));
    String actionValue = XmlUtil.getAttributeNSOrNull(e, WSA_ACTION_QNAME);
    if (actionValue == null || actionValue.equals("")) {
      errReceiver.warning(context.getLocation(e), WsdlMessages.WARNING_FAULT_EMPTY_ACTION(parent.getNameValue(), parent.getWSDLElementName().getLocalPart(), parent.getParent().getNameValue()));
      return false; // keep compiler happy
    }
    ((Fault) parent).setAction(actionValue);
    return true;
  } else {
    return fail(context.getLocation(e));
  }
}
com.sun.tools.ws.wsdl.documentFaultsetAction

Popular methods of Fault

  • <init>
  • accept
  • failValidation
  • getAction
  • getDocumentation
  • getElementName
  • getMessage
  • getName
  • resolveMessage
  • setDocumentation
  • setMessage
  • setName
  • setMessage,
  • setName,
  • setParent

Popular in Java

  • Reading from database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSupportFragmentManager (FragmentActivity)
  • getSharedPreferences (Context)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • JComboBox (javax.swing)
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top 17 Free Sublime Text Plugins
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