com.sun.xml.ws.security.opt.impl.util
Class SOAPUtil
java.lang.Object
com.sun.xml.ws.security.opt.impl.util.SOAPUtil
public class SOAPUtil
- extends Object
- Author:
- ashutosh.shahi@sun.com
|
Constructor Summary |
SOAPUtil()
Creates a new instance of SOAPUtil |
|
Method Summary |
static X509Certificate |
getCertificateFromToken(BinarySecurityToken bst)
|
static String |
getIdFromFragmentRef(String ref)
|
static String |
getLocalizedGenericError()
|
protected static SOAPFault |
getSOAPFault(QName faultCode,
String faultString,
SOAPFactory soapFactory,
SOAPVersion version)
|
protected static SOAPFault |
getSOAPFault(WssSoapFaultException sfe,
SOAPFactory soapFactory,
SOAPVersion version)
|
static SOAPFaultException |
getSOAPFaultException(Exception ex,
SOAPFactory factory,
SOAPVersion version)
|
static SOAPFaultException |
getSOAPFaultException(QName faultCode,
Exception ex,
SOAPFactory factory,
SOAPVersion version)
|
static SOAPFaultException |
getSOAPFaultException(QName faultCode,
WSSecureConversationRuntimeException wsre,
SOAPFactory soapFactory,
SOAPVersion sOAPVersion)
|
static SOAPFaultException |
getSOAPFaultException(WssSoapFaultException ex,
SOAPFactory factory,
SOAPVersion version)
|
static boolean |
isEnableFaultDetail()
|
static WssSoapFaultException |
newSOAPFaultException(QName faultCode,
String faultstring,
Throwable th)
Create and initialize a WssSoapFaultException. |
static WssSoapFaultException |
newSOAPFaultException(QName faultCode,
String faultstring,
Throwable th,
boolean faultDetail)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
localStrings
protected static final LocalStringManagerImpl localStrings
SOAPUtil
public SOAPUtil()
- Creates a new instance of SOAPUtil
getSOAPFaultException
public static SOAPFaultException getSOAPFaultException(QName faultCode,
WSSecureConversationRuntimeException wsre,
SOAPFactory soapFactory,
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 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)
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.