Package org.apache.axis2.jaxws.utility
Class SAAJFactory
java.lang.Object
org.apache.axis2.jaxws.utility.SAAJFactory
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic jakarta.xml.soap.MessageFactorycreateMessageFactory(String namespace) Create MessageFactory using information from the envelope namespacestatic jakarta.xml.soap.SOAPFactorycreateSOAPFactory(String namespace) Create SOAPFactory using information from the envelope namespace
-
Field Details
-
SOAP_1_1_PROTOCOL
- See Also:
-
SOAP_1_2_PROTOCOL
- See Also:
-
DYNAMIC_PROTOCOL
- See Also:
-
-
Constructor Details
-
SAAJFactory
public SAAJFactory()
-
-
Method Details
-
createSOAPFactory
public static jakarta.xml.soap.SOAPFactory createSOAPFactory(String namespace) throws jakarta.xml.ws.WebServiceException, jakarta.xml.soap.SOAPException Create SOAPFactory using information from the envelope namespace- Parameters:
namespace-- Returns:
- Throws:
jakarta.xml.ws.WebServiceExceptionjakarta.xml.soap.SOAPException
-
createMessageFactory
public static jakarta.xml.soap.MessageFactory createMessageFactory(String namespace) throws jakarta.xml.ws.WebServiceException, jakarta.xml.soap.SOAPException Create MessageFactory using information from the envelope namespace- Parameters:
namespace-- Returns:
- Throws:
jakarta.xml.ws.WebServiceExceptionjakarta.xml.soap.SOAPException
-