Class SOAPUtil
java.lang.Object
com.sun.xml.ws.security.opt.impl.util.SOAPUtil
- Author:
- ashutosh.shahi@sun.com
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic X509Certificatestatic Stringstatic Stringprotected static jakarta.xml.soap.SOAPFaultgetSOAPFault(WssSoapFaultException sfe, jakarta.xml.soap.SOAPFactory soapFactory, SOAPVersion version) protected static jakarta.xml.soap.SOAPFaultgetSOAPFault(QName faultCode, String faultString, jakarta.xml.soap.SOAPFactory soapFactory, SOAPVersion version) static jakarta.xml.ws.soap.SOAPFaultExceptiongetSOAPFaultException(WssSoapFaultException ex, jakarta.xml.soap.SOAPFactory factory, SOAPVersion version) static jakarta.xml.ws.soap.SOAPFaultExceptiongetSOAPFaultException(Exception ex, jakarta.xml.soap.SOAPFactory factory, SOAPVersion version) static jakarta.xml.ws.soap.SOAPFaultExceptiongetSOAPFaultException(QName faultCode, WSSecureConversationRuntimeException wsre, jakarta.xml.soap.SOAPFactory soapFactory, SOAPVersion sOAPVersion) static jakarta.xml.ws.soap.SOAPFaultExceptiongetSOAPFaultException(QName faultCode, Exception ex, jakarta.xml.soap.SOAPFactory factory, SOAPVersion version) static booleanstatic WssSoapFaultExceptionnewSOAPFaultException(QName faultCode, String faultstring, Throwable th) Create and initialize a WssSoapFaultException.static WssSoapFaultExceptionnewSOAPFaultException(QName faultCode, String faultstring, Throwable th, boolean faultDetail)
-
Field Details
-
localStrings
-
-
Constructor Details
-
SOAPUtil
public SOAPUtil()Creates a new instance of SOAPUtil
-
-
Method Details
-
getSOAPFaultException
public static jakarta.xml.ws.soap.SOAPFaultException getSOAPFaultException(QName faultCode, WSSecureConversationRuntimeException wsre, jakarta.xml.soap.SOAPFactory soapFactory, SOAPVersion sOAPVersion) -
isEnableFaultDetail
public static boolean isEnableFaultDetail()- Returns:
- the enableFaultDetail
-
getLocalizedGenericError
- Returns:
- the localizedGenericError
-
getIdFromFragmentRef
-
getCertificateFromToken
public static X509Certificate getCertificateFromToken(BinarySecurityToken bst) throws XWSSecurityException - Throws:
XWSSecurityException
-
newSOAPFaultException
public static WssSoapFaultException newSOAPFaultException(QName faultCode, String faultstring, Throwable th) Create and initialize a WssSoapFaultException. -
newSOAPFaultException
public static WssSoapFaultException newSOAPFaultException(QName faultCode, String faultstring, Throwable th, boolean faultDetail) -
getSOAPFault
protected static jakarta.xml.soap.SOAPFault getSOAPFault(WssSoapFaultException sfe, jakarta.xml.soap.SOAPFactory soapFactory, SOAPVersion version) -
getSOAPFault
protected static jakarta.xml.soap.SOAPFault getSOAPFault(QName faultCode, String faultString, jakarta.xml.soap.SOAPFactory soapFactory, SOAPVersion version) -
getSOAPFaultException
public static jakarta.xml.ws.soap.SOAPFaultException getSOAPFaultException(WssSoapFaultException ex, jakarta.xml.soap.SOAPFactory factory, SOAPVersion version) -
getSOAPFaultException
public static jakarta.xml.ws.soap.SOAPFaultException getSOAPFaultException(QName faultCode, Exception ex, jakarta.xml.soap.SOAPFactory factory, SOAPVersion version) -
getSOAPFaultException
public static jakarta.xml.ws.soap.SOAPFaultException getSOAPFaultException(Exception ex, jakarta.xml.soap.SOAPFactory factory, SOAPVersion version)
-