java.lang.Object
jakarta.xml.soap.SOAPConnectionFactory
A factory for creating 
SOAPConnection objects. Implementation of this class
 is optional. If SOAPConnectionFactory.newInstance() throws an
 UnsupportedOperationException then the implementation does not support the
 SAAJ communication infrastructure. Otherwise SOAPConnection objects
 can be created by calling createConnection() on the newly
 created SOAPConnectionFactory object.- Since:
 - 1.6
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionabstract SOAPConnectionCreate a newSOAPConnection.static SOAPConnectionFactoryCreates an instance of the defaultSOAPConnectionFactoryobject. 
- 
Constructor Details
- 
SOAPConnectionFactory
protected SOAPConnectionFactory()Default constructor. 
 - 
 - 
Method Details
- 
newInstance
public static SOAPConnectionFactory newInstance() throws SOAPException, UnsupportedOperationExceptionCreates an instance of the defaultSOAPConnectionFactoryobject. This method uses the lookup procedure specified injakarta.xml.soapto locate and load theSOAPConnectionFactoryclass.- Returns:
 - a new instance of a default
         
SOAPConnectionFactoryobject - Throws:
 SOAPException- if there was an error creating theSOAPConnectionFactoryUnsupportedOperationException- if newInstance is not supported.
 - 
createConnection
Create a newSOAPConnection.- Returns:
 - the new 
SOAPConnectionobject. - Throws:
 SOAPException- if there was an exception creating theSOAPConnectionobject.
 
 -