Class SOAPUtil
java.lang.Object
com.sun.xml.ws.security.opt.impl.util.SOAPUtil
- Author:
- ashutosh.shahi@sun.com
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic X509Certificatestatic Stringstatic Stringprotected static SOAPFaultgetSOAPFault(WssSoapFaultException sfe, SOAPFactory soapFactory, SOAPVersion version) protected static SOAPFaultgetSOAPFault(QName faultCode, String faultString, SOAPFactory soapFactory, SOAPVersion version) static SOAPFaultExceptiongetSOAPFaultException(WssSoapFaultException ex, SOAPFactory factory, SOAPVersion version) static SOAPFaultExceptiongetSOAPFaultException(Exception ex, SOAPFactory factory, SOAPVersion version) static SOAPFaultExceptiongetSOAPFaultException(QName faultCode, WSSecureConversationRuntimeException wsre, SOAPFactory soapFactory, SOAPVersion sOAPVersion) static SOAPFaultExceptiongetSOAPFaultException(QName faultCode, Exception ex, 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
-
-
Method Details
-
getSOAPFaultException
public static SOAPFaultException getSOAPFaultException(QName faultCode, WSSecureConversationRuntimeException wsre, 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 SOAPFault getSOAPFault(WssSoapFaultException sfe, SOAPFactory soapFactory, SOAPVersion version) -
getSOAPFault
protected static SOAPFault getSOAPFault(QName faultCode, String faultString, SOAPFactory soapFactory, SOAPVersion version) -
getSOAPFaultException
public static SOAPFaultException getSOAPFaultException(WssSoapFaultException ex, SOAPFactory factory, SOAPVersion version) -
getSOAPFaultException
public static SOAPFaultException getSOAPFaultException(QName faultCode, Exception ex, SOAPFactory factory, SOAPVersion version) -
getSOAPFaultException
public static SOAPFaultException getSOAPFaultException(Exception ex, SOAPFactory factory, SOAPVersion version)
-