Interface SOAPFaultReason

    • Method Detail

      • getFaultReasonText

        String getFaultReasonText​(Locale locale)
        Extract the fault reason text for the locale that best matches the given locale. This method works for all SOAP versions. Since SOAP 1.1 doesn't support localized fault reasons, the locale is effectively ignored in that version. For SOAP 1.2 the method extracts the text from the SOAPFaultText that best matches the given locale, falling back to English.
        Parameters:
        locale - the requested locale
        Returns:
        the reason text