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