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.
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 SOAPFactory createSOAPFactory(java.lang.String namespace)
throws WebServiceException,
SOAPException
- Create SOAPFactory using information from the envelope namespace
- Parameters:
namespace
-
- Returns:
-
- Throws:
WebServiceException
SOAPException
createMessageFactory
public static MessageFactory createMessageFactory(java.lang.String namespace)
throws WebServiceException,
SOAPException
- Create MessageFactory using information from the envelope namespace
- Parameters:
namespace
-
- Returns:
-
- Throws:
WebServiceException
SOAPException
Copyright © 2007 Apache Web Services Project. All Rights Reserved.