Class XMLFaultCode

java.lang.Object
org.apache.axis2.jaxws.message.XMLFaultCode

public class XMLFaultCode extends Object
Agnostic representation of SOAP 1.1 and SOAP 1.2 fault code values.
See Also:
  • Field Details

    • SENDER

      public static final XMLFaultCode SENDER
    • RECEIVER

      public static final XMLFaultCode RECEIVER
    • MUSTUNDERSTAND

      public static final XMLFaultCode MUSTUNDERSTAND
    • DATAENCODINGUNKNOWN

      public static final XMLFaultCode DATAENCODINGUNKNOWN
    • VERSIONMISMATCH

      public static final XMLFaultCode VERSIONMISMATCH
  • Constructor Details

    • XMLFaultCode

      public XMLFaultCode(QName faultCode)
  • Method Details

    • toQName

      public QName toQName(String protocolNamespace)
      Return QName for the given protocol
      Parameters:
      namespace - of the envelope for the protocol
      Returns:
    • fromQName

      public static XMLFaultCode fromQName(QName qName)
      get the XMLPart corresponding to this specified QName
      Parameters:
      qName -
      Returns:
      corresponding XMLPart