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 javax.xml.soap.SOAPFault |
getSOAPFault(javax.xml.namespace.QName faultCode,
java.lang.String faultString,
javax.xml.soap.SOAPFactory soapFactory,
com.sun.xml.ws.api.SOAPVersion version)
|
protected static javax.xml.soap.SOAPFault |
getSOAPFault(WssSoapFaultException sfe,
javax.xml.soap.SOAPFactory soapFactory,
com.sun.xml.ws.api.SOAPVersion version)
|
static javax.xml.ws.soap.SOAPFaultException |
getSOAPFaultException(java.lang.Exception ex,
javax.xml.soap.SOAPFactory factory,
com.sun.xml.ws.api.SOAPVersion version)
|
static javax.xml.ws.soap.SOAPFaultException |
getSOAPFaultException(javax.xml.namespace.QName faultCode,
java.lang.Exception ex,
javax.xml.soap.SOAPFactory factory,
com.sun.xml.ws.api.SOAPVersion version)
|
static javax.xml.ws.soap.SOAPFaultException |
getSOAPFaultException(javax.xml.namespace.QName faultCode,
WSSecureConversationRuntimeException wsre,
javax.xml.soap.SOAPFactory soapFactory,
com.sun.xml.ws.api.SOAPVersion sOAPVersion)
|
static javax.xml.ws.soap.SOAPFaultException |
getSOAPFaultException(WssSoapFaultException ex,
javax.xml.soap.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. |
static WssSoapFaultException |
newSOAPFaultException(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 javax.xml.ws.soap.SOAPFaultException getSOAPFaultException(javax.xml.namespace.QName faultCode,
WSSecureConversationRuntimeException wsre,
javax.xml.soap.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(java.lang.String faultstring,
java.lang.Throwable th)
- Create and initialize a WssSoapFaultException.
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 javax.xml.soap.SOAPFault getSOAPFault(WssSoapFaultException sfe,
javax.xml.soap.SOAPFactory soapFactory,
com.sun.xml.ws.api.SOAPVersion version)
getSOAPFault
protected static javax.xml.soap.SOAPFault getSOAPFault(javax.xml.namespace.QName faultCode,
java.lang.String faultString,
javax.xml.soap.SOAPFactory soapFactory,
com.sun.xml.ws.api.SOAPVersion version)
getSOAPFaultException
public static javax.xml.ws.soap.SOAPFaultException getSOAPFaultException(WssSoapFaultException ex,
javax.xml.soap.SOAPFactory factory,
com.sun.xml.ws.api.SOAPVersion version)
getSOAPFaultException
public static javax.xml.ws.soap.SOAPFaultException getSOAPFaultException(javax.xml.namespace.QName faultCode,
java.lang.Exception ex,
javax.xml.soap.SOAPFactory factory,
com.sun.xml.ws.api.SOAPVersion version)
getSOAPFaultException
public static javax.xml.ws.soap.SOAPFaultException getSOAPFaultException(java.lang.Exception ex,
javax.xml.soap.SOAPFactory factory,
com.sun.xml.ws.api.SOAPVersion version)
Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.