org.apache.axis2.jaxws.utility
Class SAAJFactory

java.lang.Object
  extended by 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.


Field Summary
static java.lang.String DYNAMIC_PROTOCOL
           
static java.lang.String SOAP_1_1_PROTOCOL
           
static java.lang.String SOAP_1_2_PROTOCOL
           
 
Constructor Summary
SAAJFactory()
           
 
Method Summary
static MessageFactory createMessageFactory(java.lang.String namespace)
          Create MessageFactory using information from the envelope namespace
static 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
 

Field Detail

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
Constructor Detail

SAAJFactory

public SAAJFactory()
Method Detail

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.