| java.lang.Object org.springframework.ws.soap.saaj.support.SaajUtils
SaajUtils | abstract public class SaajUtils (Code) | | Collection of generic utility methods to work with SAAJ. Includes conversion from Name s to
QName s and vice-versa, and SAAJ version checking.
author: Arjen Poutsma See Also: Name See Also: QName since: 1.0.0 |
Field Summary | |
final public static int | SAAJ_11 | final public static int | SAAJ_12 | final public static int | SAAJ_13 |
SAAJ_11 | final public static int SAAJ_11(Code) | | |
SAAJ_12 | final public static int SAAJ_12(Code) | | |
SAAJ_13 | final public static int SAAJ_13(Code) | | |
getEnvelope | public static SOAPEnvelope getEnvelope(SOAPElement element)(Code) | | Returns the SAAJ SOAPEnvelope for the given element.
Parameters: element - the element to return the envelope from the envelope, or null if not found |
getSaajVersionString | public static String getSaajVersionString()(Code) | | Returns the SAAJ version as a String. The returned string will be "SAAJ 1.3 ", "SAAJ
1.2 ", or "SAAJ 1.1 ".
a string representation of the SAAJ version See Also: SaajUtils.getSaajVersion() |
loadMessage | public static SOAPMessage loadMessage(Resource resource, MessageFactory messageFactory) throws SOAPException, IOException(Code) | | Loads a SAAJ SOAPMessage from the given resource with a given message factory.
Parameters: resource - the resource to read from Parameters: messageFactory - SAAJ message factory used to construct the message the loaded SAAJ message throws: SOAPException - if the message cannot be constructed throws: IOException - if the input stream resource cannot be loaded |
toQName | public static QName toQName(Name name)(Code) | | Converts a javax.xml.soap.Name to a javax.xml.namespace.QName .
Parameters: name - the Name to convert the converted QName |
|
|