org.apache.axis2.jaxws.utility
Class SAAJFactory
java.lang.Object
org.apache.axis2.jaxws.utility.SAAJFactory
public class SAAJFactory
- extends java.lang.Object
Provides convenience methods to construct a SOAP 1.1 or SOAP 1.2 SAAJ MessageFactory or
SOAPFactory. The code uses reflection; thus, when Axis2 upgrades to SAAJ 1.3, no changes will be
neded to this class.
Method Summary |
static javax.xml.soap.MessageFactory |
createMessageFactory(java.lang.String namespace)
Create MessageFactory using information from the envelope namespace |
static javax.xml.soap.SOAPFactory |
createSOAPFactory(java.lang.String namespace)
Create SOAPFactory using information from the envelope namespace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOAP_1_1_PROTOCOL
public static final java.lang.String SOAP_1_1_PROTOCOL
- See Also:
- Constant Field Values
SOAP_1_2_PROTOCOL
public static final java.lang.String SOAP_1_2_PROTOCOL
- See Also:
- Constant Field Values
DYNAMIC_PROTOCOL
public static final java.lang.String DYNAMIC_PROTOCOL
- See Also:
- Constant Field Values
SAAJFactory
public SAAJFactory()
createSOAPFactory
public static javax.xml.soap.SOAPFactory createSOAPFactory(java.lang.String namespace)
throws javax.xml.ws.WebServiceException,
javax.xml.soap.SOAPException
- Create SOAPFactory using information from the envelope namespace
- Parameters:
namespace
-
- Returns:
-
- Throws:
javax.xml.ws.WebServiceException
javax.xml.soap.SOAPException
createMessageFactory
public static javax.xml.soap.MessageFactory createMessageFactory(java.lang.String namespace)
throws javax.xml.ws.WebServiceException,
javax.xml.soap.SOAPException
- Create MessageFactory using information from the envelope namespace
- Parameters:
namespace
-
- Returns:
-
- Throws:
javax.xml.ws.WebServiceException
javax.xml.soap.SOAPException
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.