Package org.apache.axis2.jaxws.utility
Class SAAJFactory
- java.lang.Object
- 
- org.apache.axis2.jaxws.utility.SAAJFactory
 
- 
 public class SAAJFactory extends 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 SummaryFields Modifier and Type Field Description static StringDYNAMIC_PROTOCOLstatic StringSOAP_1_1_PROTOCOLstatic StringSOAP_1_2_PROTOCOL
 - 
Constructor SummaryConstructors Constructor Description SAAJFactory()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static MessageFactorycreateMessageFactory(String namespace)Create MessageFactory using information from the envelope namespacestatic SOAPFactorycreateSOAPFactory(String namespace)Create SOAPFactory using information from the envelope namespace
 
- 
- 
- 
Field Detail- 
SOAP_1_1_PROTOCOLpublic static final String SOAP_1_1_PROTOCOL - See Also:
- Constant Field Values
 
 - 
SOAP_1_2_PROTOCOLpublic static final String SOAP_1_2_PROTOCOL - See Also:
- Constant Field Values
 
 - 
DYNAMIC_PROTOCOLpublic static final String DYNAMIC_PROTOCOL - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
createSOAPFactorypublic static SOAPFactory createSOAPFactory(String namespace) throws WebServiceException, SOAPException Create SOAPFactory using information from the envelope namespace- Parameters:
- namespace-
- Returns:
- Throws:
- WebServiceException
- SOAPException
 
 - 
createMessageFactorypublic static MessageFactory createMessageFactory(String namespace) throws WebServiceException, SOAPException Create MessageFactory using information from the envelope namespace- Parameters:
- namespace-
- Returns:
- Throws:
- WebServiceException
- SOAPException
 
 
- 
 
-