Class SoapFault

    • Field Detail

      • ATTACHMENT_IO

        public static final QName ATTACHMENT_IO
    • Method Detail

      • getSubCodeString

        public String getSubCodeString​(String prefix,
                                       String defaultPrefix)
      • getReason

        public String getReason()
      • getRole

        public String getRole()
        Returns the fault actor.
        Returns:
        the fault actor.
      • setRole

        public void setRole​(String actor)
        Sets the fault actor.
        Parameters:
        actor - the actor.
      • getNode

        public String getNode()
      • setNode

        public void setNode​(String n)
      • getSubCode

        public QName getSubCode()
        Returns the SubCode for the Fault Code. If there are more than one Subcode entries in this fault, the first Subcode is returned.
        Returns:
        The SubCode element as detailed by the SOAP 1.2 spec.
      • getSubCodes

        public List<QName> getSubCodes()
        Returns the SubCode list for the Fault Code.
        Returns:
        The SubCode element list as detailed by the SOAP 1.2 spec.
      • setSubCode

        public void setSubCode​(QName subCode)
        Sets the SubCode for the Fault Code. If there are more than one Subcode entries in this fault, the first Subcode is set while the other entries are removed.
        Parameters:
        subCode - The SubCode element as detailed by the SOAP 1.2 spec.
      • setSubCodes

        public void setSubCodes​(List<QName> subCodes)
        Sets the SubCode list for the Fault Code.
        Parameters:
        subCodes - The SubCode element list as detailed by the SOAP 1.2 spec.
      • addSubCode

        public void addSubCode​(QName subCode)
        Appends the SubCode to the SubCode list.
        Parameters:
        subCode - The SubCode element as detailed by the SOAP 1.2 spec.
      • setNamespaces

        public void setNamespaces​(Map<String,​String> namespaces)
      • createFault

        public static SoapFault createFault​(org.apache.cxf.interceptor.Fault f,
                                            SoapVersion v)