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 java.lang.Object
- Author:
- ashutosh.shahi@sun.com
|
Constructor Summary |
SOAPUtil()
Creates a new instance of SOAPUtil |
|
Method Summary |
static java.security.cert.X509Certificate |
getCertificateFromToken(BinarySecurityToken bst)
|
static java.lang.String |
getIdFromFragmentRef(java.lang.String ref)
|
static java.lang.String |
getLocalizedGenericError()
|
protected static SOAPFault |
getSOAPFault(javax.xml.namespace.QName faultCode,
java.lang.String faultString,
SOAPFactory soapFactory,
com.sun.xml.ws.api.SOAPVersion version)
|
protected static SOAPFault |
getSOAPFault(WssSoapFaultException sfe,
SOAPFactory soapFactory,
com.sun.xml.ws.api.SOAPVersion version)
|
static SOAPFaultException |
getSOAPFaultException(java.lang.Exception ex,
SOAPFactory factory,
com.sun.xml.ws.api.SOAPVersion version)
|
static SOAPFaultException |
getSOAPFaultException(javax.xml.namespace.QName faultCode,
java.lang.Exception ex,
SOAPFactory factory,
com.sun.xml.ws.api.SOAPVersion version)
|
static SOAPFaultException |
getSOAPFaultException(javax.xml.namespace.QName faultCode,
WSSecureConversationRuntimeException wsre,
SOAPFactory soapFactory,
com.sun.xml.ws.api.SOAPVersion sOAPVersion)
|
static SOAPFaultException |
getSOAPFaultException(WssSoapFaultException ex,
SOAPFactory factory,
com.sun.xml.ws.api.SOAPVersion version)
|
static boolean |
isEnableFaultDetail()
|
static WssSoapFaultException |
newSOAPFaultException(javax.xml.namespace.QName faultCode,
java.lang.String faultstring,
java.lang.Throwable th)
Create and initialize a WssSoapFaultException. |
| 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(javax.xml.namespace.QName faultCode,
WSSecureConversationRuntimeException wsre,
SOAPFactory soapFactory,
com.sun.xml.ws.api.SOAPVersion sOAPVersion)
isEnableFaultDetail
public static boolean isEnableFaultDetail()
- Returns:
- the enableFaultDetail
getLocalizedGenericError
public static java.lang.String getLocalizedGenericError()
- Returns:
- the localizedGenericError
getIdFromFragmentRef
public static java.lang.String getIdFromFragmentRef(java.lang.String ref)
getCertificateFromToken
public static java.security.cert.X509Certificate getCertificateFromToken(BinarySecurityToken bst)
throws XWSSecurityException
- Throws:
XWSSecurityException
newSOAPFaultException
public static WssSoapFaultException newSOAPFaultException(javax.xml.namespace.QName faultCode,
java.lang.String faultstring,
java.lang.Throwable th)
- Create and initialize a WssSoapFaultException.
getSOAPFault
protected static SOAPFault getSOAPFault(WssSoapFaultException sfe,
SOAPFactory soapFactory,
com.sun.xml.ws.api.SOAPVersion version)
getSOAPFault
protected static SOAPFault getSOAPFault(javax.xml.namespace.QName faultCode,
java.lang.String faultString,
SOAPFactory soapFactory,
com.sun.xml.ws.api.SOAPVersion version)
getSOAPFaultException
public static SOAPFaultException getSOAPFaultException(WssSoapFaultException ex,
SOAPFactory factory,
com.sun.xml.ws.api.SOAPVersion version)
getSOAPFaultException
public static SOAPFaultException getSOAPFaultException(javax.xml.namespace.QName faultCode,
java.lang.Exception ex,
SOAPFactory factory,
com.sun.xml.ws.api.SOAPVersion version)
getSOAPFaultException
public static SOAPFaultException getSOAPFaultException(java.lang.Exception ex,
SOAPFactory factory,
com.sun.xml.ws.api.SOAPVersion version)
Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.