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 javax.xml.soap.SOAPFaultgetSOAPFault(WssSoapFaultException sfe, javax.xml.soap.SOAPFactory soapFactory, com.sun.xml.ws.api.SOAPVersion version) protected static javax.xml.soap.SOAPFaultgetSOAPFault(QName faultCode, String faultString, javax.xml.soap.SOAPFactory soapFactory, com.sun.xml.ws.api.SOAPVersion version) static javax.xml.ws.soap.SOAPFaultExceptiongetSOAPFaultException(WssSoapFaultException ex, javax.xml.soap.SOAPFactory factory, com.sun.xml.ws.api.SOAPVersion version) static javax.xml.ws.soap.SOAPFaultExceptiongetSOAPFaultException(Exception ex, javax.xml.soap.SOAPFactory factory, com.sun.xml.ws.api.SOAPVersion version) static javax.xml.ws.soap.SOAPFaultExceptiongetSOAPFaultException(QName faultCode, com.sun.xml.ws.api.security.secconv.WSSecureConversationRuntimeException wsre, javax.xml.soap.SOAPFactory soapFactory, com.sun.xml.ws.api.SOAPVersion sOAPVersion) static javax.xml.ws.soap.SOAPFaultExceptiongetSOAPFaultException(QName faultCode, Exception ex, javax.xml.soap.SOAPFactory factory, com.sun.xml.ws.api.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 javax.xml.ws.soap.SOAPFaultException getSOAPFaultException(QName faultCode, com.sun.xml.ws.api.security.secconv.WSSecureConversationRuntimeException wsre, javax.xml.soap.SOAPFactory soapFactory, com.sun.xml.ws.api.SOAPVersion sOAPVersion) -
isEnableFaultDetail
public static boolean isEnableFaultDetail()- Returns:
- the enableFaultDetail
-
getLocalizedGenericError
- Returns:
- the localizedGenericError
-
getIdFromFragmentRef
-
getCertificateFromToken
public static X509Certificate getCertificateFromToken(BinarySecurityToken bst) throws com.sun.xml.wss.XWSSecurityException - Throws:
com.sun.xml.wss.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 javax.xml.soap.SOAPFault getSOAPFault(WssSoapFaultException sfe, javax.xml.soap.SOAPFactory soapFactory, com.sun.xml.ws.api.SOAPVersion version) -
getSOAPFault
-
getSOAPFaultException
public static javax.xml.ws.soap.SOAPFaultException getSOAPFaultException(WssSoapFaultException ex, javax.xml.soap.SOAPFactory factory, com.sun.xml.ws.api.SOAPVersion version) -
getSOAPFaultException
-
getSOAPFaultException
public static javax.xml.ws.soap.SOAPFaultException getSOAPFaultException(Exception ex, javax.xml.soap.SOAPFactory factory, com.sun.xml.ws.api.SOAPVersion version)
-