Javax.xml.soap.SOAPConnectionFactory Class



Introduction

The javax.xml.soap.SOAPConnectionFactory class is a factory for creating SOAPConnection objects. Implementation of this class is optional.

Class declaration

Following is the declaration for javax.xml.soap.SOAPConnectionFactory class:

public abstract class SOAPConnectionFactory
   extends Object

Class constructors

S.N. Constructor & Description
1 SOAPConnectionFactory()

Single Constructor.

Class methods

S.N. Method & Description
1

abstract SOAPConnection createConnection()

This method creates a new SOAPConnection.

2

static SOAPConnectionFactory newInstance()

This method creates an instance of the default SOAPConnectionFactory object.

Methods inherited

This class inherits methods from the following classes −

java.lang.Object

Advertisements