Class SOAPUtil


  • public class SOAPUtil
    extends Object
    Author:
    ashutosh.shahi@sun.com
    • Constructor Detail

      • SOAPUtil

        public SOAPUtil()
        Creates a new instance of SOAPUtil
    • Method Detail

      • getSOAPFaultException

        public static jakarta.xml.ws.soap.SOAPFaultException getSOAPFaultException​(QName faultCode,
                                                                                   com.sun.xml.ws.api.security.secconv.WSSecureConversationRuntimeException wsre,
                                                                                   jakarta.xml.soap.SOAPFactory soapFactory,
                                                                                   com.sun.xml.ws.api.SOAPVersion sOAPVersion)
      • isEnableFaultDetail

        public static boolean isEnableFaultDetail()
        Returns:
        the enableFaultDetail
      • getLocalizedGenericError

        public static String getLocalizedGenericError()
        Returns:
        the localizedGenericError
      • getIdFromFragmentRef

        public static String getIdFromFragmentRef​(String ref)
      • getCertificateFromToken

        public static X509Certificate getCertificateFromToken​(BinarySecurityToken bst)
                                                       throws com.sun.xml.wss.XWSSecurityException
        Throws:
        com.sun.xml.wss.XWSSecurityException
      • getSOAPFault

        protected static jakarta.xml.soap.SOAPFault getSOAPFault​(WssSoapFaultException sfe,
                                                                 jakarta.xml.soap.SOAPFactory soapFactory,
                                                                 com.sun.xml.ws.api.SOAPVersion version)
      • getSOAPFault

        protected static jakarta.xml.soap.SOAPFault getSOAPFault​(QName faultCode,
                                                                 String faultString,
                                                                 jakarta.xml.soap.SOAPFactory soapFactory,
                                                                 com.sun.xml.ws.api.SOAPVersion version)
      • getSOAPFaultException

        public static jakarta.xml.ws.soap.SOAPFaultException getSOAPFaultException​(WssSoapFaultException ex,
                                                                                   jakarta.xml.soap.SOAPFactory factory,
                                                                                   com.sun.xml.ws.api.SOAPVersion version)
      • getSOAPFaultException

        public static jakarta.xml.ws.soap.SOAPFaultException getSOAPFaultException​(QName faultCode,
                                                                                   Exception ex,
                                                                                   jakarta.xml.soap.SOAPFactory factory,
                                                                                   com.sun.xml.ws.api.SOAPVersion version)
      • getSOAPFaultException

        public static jakarta.xml.ws.soap.SOAPFaultException getSOAPFaultException​(Exception ex,
                                                                                   jakarta.xml.soap.SOAPFactory factory,
                                                                                   com.sun.xml.ws.api.SOAPVersion version)