Class SoapFaultFactory

  • All Implemented Interfaces:

    
    public class SoapFaultFactory
    
                        

    Factory to create SOAP fault structures.

    • Parameter names are in accordance with the SOAP fault specification. Other parameter names are explained.
    • The implied reason text's language is 'en'.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • createFault

         SoapMessage createFault(String actionUri, QName code, QName subcode, String reasonText, @Nullable() Object detail)

        Creates a fault SOAP message based on an action URI, code, subcode, reason text and arbitrary details.

        Parameters:
        actionUri - wsa:Action to put into the resulting SoapMessage header.
        code - the SOAP fault code.
        subcode - the SOAP fault subcode.
        reasonText - the fault reason.
        detail - the fault details.
        Returns:

        a SoapMessage containing the fault.

      • createFault

         SoapMessage createFault(String actionUri, QName code, QName subcode, String reasonText)

        Creates a fault SOAP message based on an action URI, code, subcode and reason text.

        Parameters:
        actionUri - wsa:Action to put into the resulting SoapMessage header.
        code - the SOAP fault code.
        subcode - the SOAP fault subcode.
        reasonText - the fault reason.
        Returns:

        a SoapMessage containing the fault.

      • createFault

         SoapMessage createFault(String actionUri, QName code, QName subcode)

        Creates a fault SOAP message based on an action URI, code and subcode.

        Parameters:
        actionUri - wsa:Action to put into the resulting SoapMessage header.
        code - the SOAP fault code.
        subcode - the SOAP fault subcode.
        Returns:

        a SoapMessage containing the fault.