public abstract class SOAPConnectionFactory extends Object
SOAPConnectionobjects. Implementation of this class is optional. If
SOAPConnectionFactory.newInstance()throws an UnsupportedOperationException then the implementation does not support the SAAJ communication infrastructure. Otherwise
SOAPConnectionobjects can be created by calling
createConnection()on the newly created
|Constructor and Description|
|Modifier and Type||Method and Description|
Create a new
Creates an instance of the default
public static SOAPConnectionFactory newInstance() throws SOAPException, UnsupportedOperationException
SOAPException- if there was an error creating the
UnsupportedOperationException- if newInstance is not supported.
public abstract SOAPConnection createConnection() throws SOAPException
SOAPException- if there was an exception creating the
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2023, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.